From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D57AC433DF for ; Thu, 14 May 2020 19:06:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0408F20643 for ; Thu, 14 May 2020 19:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589483204; bh=VvY+ujRl3TLq3Uz/F5rbZuZ+SLUdj4ESsX6KnnzePJI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=XYqYpQUZVEoaDX58u7/2iIFHO2LgnPIjZb4ynqmkHs7gAzOdF2xdhEEH2iO003g52 m0HmJHSlIM1gj5MI3NLQdJ9Xj9YbKx3btTAXCzAt5ezK0vqumsGx0sHTwxbJ8o4aB0 lLNMjVZpfixGCbDe55WpAmBr7N6WGY9wmdtPtRBI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730067AbgENTGm (ORCPT ); Thu, 14 May 2020 15:06:42 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:39394 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728840AbgENTGg (ORCPT ); Thu, 14 May 2020 15:06:36 -0400 Received: by mail-oi1-f196.google.com with SMTP id s198so1674769oie.6; Thu, 14 May 2020 12:06:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=DpxmqheKh5hWBkROUkM/LZbskUu+jI9OekkxfEH2TJU=; b=jKy7Tet+7kDtJP9R6aI+d8Svebs+UjREUdZ4tc2TdAvfvztTuKXHjAmyRSN0CBV1Q/ dxvG/6SUt6irrsNnl6a0dPCzvcj4TdC5IMnDOtDFVUJadbHI68V2GPc/9f05cZniOtzK r9C+YtaerxaUcO9+HPJlpz4nIAPTWxRRCcG4zaicP583zNnhEq7PXGRURF1C3vEMx4mi hgO0UABInDxKiWNjWhBYll3gpmk/LJv70q5UuGcPnC5tHfGGYPzuu2DR2bI6P1sBxkNt E8YRkhn/S554bIy5Z6oAdajQqlzO3/aGo24ltCKJg7mCc5yBgKMGMa11x9bgNBkD9eth 1jIQ== X-Gm-Message-State: AGi0PuY1Gl5VTAaxaKzDUO2jOMhYMI2HC5m9TVwbAco1zgpzuVr8zFSy kuocz8Wlg9I/fG8v2+Igug== X-Google-Smtp-Source: APiQypIbLInN8eILN1YNFZkdZUWzlrI5ZKISbq/8Sj2LCEhqvwhh/jfweZsVFtDXqGRZI3Q/OW8ccg== X-Received: by 2002:aca:3254:: with SMTP id y81mr11673521oiy.172.1589483194829; Thu, 14 May 2020 12:06:34 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 130sm3531979oid.43.2020.05.14.12.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 12:06:33 -0700 (PDT) Received: (nullmailer pid 10001 invoked by uid 1000); Thu, 14 May 2020 19:06:32 -0000 Date: Thu, 14 May 2020 14:06:32 -0500 From: Rob Herring To: Serge Semin Cc: Rob Herring , Ralf Baechle , Serge Semin , Arnd Bergmann , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, Thomas Gleixner , Daniel Lezcano , linux-rtc@vger.kernel.org, Marc Zyngier , Alexey Malahov , Alexandre Belloni , linux-kernel@vger.kernel.org, Jason Cooper , Thomas Bogendoerfer , Alessandro Zummo , Paul Burton Subject: Re: [PATCH v3 3/7] dt-bindings: interrupt-controller: Convert mti,gic to DT schema Message-ID: <20200514190632.GA9943@bogus> References: <20200324174325.14213-1-Sergey.Semin@baikalelectronics.ru> <20200506214107.25956-1-Sergey.Semin@baikalelectronics.ru> <20200506214107.25956-4-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200506214107.25956-4-Sergey.Semin@baikalelectronics.ru> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 May 2020 00:41:03 +0300, Serge Semin wrote: > Modern device tree bindings are supposed to be created as YAML-files > in accordance with DT schema. This commit replaces MIPS GIC legacy bare > text binding with YAML file. As before the binding file states that the > corresponding dts node is supposed to be compatible with MIPS Global > Interrupt Controller indicated by the "mti,gic" compatible string and > to provide a mandatory interrupt-controller and '#interrupt-cells' > properties. There might be optional registers memory range, > "mti,reserved-cpu-vectors" and "mti,reserved-ipi-vectors" properties > specified. > > MIPS GIC also includes a free-running global timer, per-CPU count/compare > timers, and a watchdog. Since currently the GIC Timer is only supported the > DT schema expects an IRQ and clock-phandler charged timer sub-node with > "mti,mips-gic-timer" compatible string. > > Signed-off-by: Serge Semin > Cc: Alexey Malahov > Cc: Thomas Bogendoerfer > Cc: Paul Burton > Cc: Ralf Baechle > Cc: Alessandro Zummo > Cc: Alexandre Belloni > Cc: Daniel Lezcano > Cc: Arnd Bergmann > Cc: linux-mips@vger.kernel.org > Cc: linux-rtc@vger.kernel.org > > --- > > I don't really know who is the corresponding driver maintainer, so I > added Paul to the maintainers property since he used to be looking for the > MIPS arch and Thomas looking after it now. Any idea what email should be > specified there instead? > > Changelog v3: > - Since timer sub-node has no unit-address, the node shouldn't be named > with one. So alter the MIPS GIC bindings to have a pure "timer" > sub-node. > - Discard allOf: [ $ref: /schemas/interrupt-controller.yaml# ]. > - Since it's a conversion patch use GPL-2.0-only SPDX header. > --- > .../interrupt-controller/mips-gic.txt | 67 -------- > .../interrupt-controller/mti,gic.yaml | 148 ++++++++++++++++++ > 2 files changed, 148 insertions(+), 67 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml > Reviewed-by: Rob Herring