Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2665675iog; Mon, 20 Jun 2022 01:54:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uoNCm9DnrEdS7yQTpVc8ASa30Vy6hu3uR6xRtZrqOk/Eu66ZpRE9mx1yJOlxHyvBCk5cQR X-Received: by 2002:aa7:c50c:0:b0:435:66b7:3dad with SMTP id o12-20020aa7c50c000000b0043566b73dadmr17228048edq.397.1655715263188; Mon, 20 Jun 2022 01:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655715263; cv=none; d=google.com; s=arc-20160816; b=GTHqmh+BXWE/YLIkHyyKNJUAHQRw1WxhwPTywTlFW8LEPXj0SzXZxdF0LumhgGhyR+ 8tBx83FhS0tcCdhXnKLAXdHDG14qVSAxyAYLvkUXepK2R8BHBBTmOAbNMXLcM5040X0o eYZMsHLGd9JoeGpojYXr6GYMS0cIrpcIkplBmtrCCvYmoo6sPH8LOj31j2rPHTIg3i3W p6GvQA5rgSvSHC0okEMUSscPWHbj58Zsxv07r6c8yBnky/Xn9BcqFOU8fAb0m9XCNNRw FSfa22MhazBodsk+ZcFavYd/+S0B9fZIEinXzC/IlS19MjVRh3lY2HKArdGtnTYcAA3Y ENBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Nmsby/owyh04k0ycvHIy9l6TCn3KX4vCVQ8FvknbAxM=; b=DuK02Mz0BhZM+fHAVjRumO9n9gf22hPO79qvNOvsaPyCzOk5HemySR0oYya6i9KKU0 W2Slda3sIwflFmnPCN3xLZfvzbm7pOSSYuyJ/J7oTOcUf46PsOeVCSgnCIMS7npEZx7s 9pZFS4BtEoXzmQq7fGJTBilv2rblsoIiDJ/jrx893I+KdSFRNTq7Ab2EvO33tnM2LOMR unAGstaLzNtLgvBwAlPrgi9NPnWPmZCsNIg3QI/Ku+GkY06+8ED/UY/CwoErgPiMgPSC NrrO3XwpoSYHn4JYGzNdVFU5v5VR2EkzK8uK8Ri8sczA4rHAD1DwBSYIXJ3Lp8JTmOeX 8YeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OhX35MjD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm21-20020a05640222d500b004357fcee3b2si2823402edb.222.2022.06.20.01.53.54; Mon, 20 Jun 2022 01:54:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OhX35MjD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239268AbiFTIvo (ORCPT + 99 others); Mon, 20 Jun 2022 04:51:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238836AbiFTIvl (ORCPT ); Mon, 20 Jun 2022 04:51:41 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1278E12D05; Mon, 20 Jun 2022 01:51:40 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id a29so16148160lfk.2; Mon, 20 Jun 2022 01:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Nmsby/owyh04k0ycvHIy9l6TCn3KX4vCVQ8FvknbAxM=; b=OhX35MjDbqMX8PT+D6KgZRwN4bXObTsbs0ih7IFYqtsvOa1wuBKqHj/RyYXlS3d87a acnj6QFINKrCvJVEwTCPQMx8iqGAfRdGKSIaOen1/wiSYmvuHHL9IZAc4FMsdJacFG8m Le4ZFTQhp7OU1Tp48G8+wSKci6gOp3qVE1kiWeGGwZnzYmS7g28O6WZuPZGEVT59zLuL vLX2rDcUHCgvd39E7LLZSfnomBVATG0w3h1mBxwquDjVC1X3LvfMXGT5oIXuwYF1BjCR qj3D6IeMXHff3qbezYRsA0jv/3e9ITV7luOJ27hBzyUnyGVW0jqTdrD6erT/DV9BZhxM j0Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Nmsby/owyh04k0ycvHIy9l6TCn3KX4vCVQ8FvknbAxM=; b=Li5jmL2vATkjTk3/K0AExIvlhU3HiPDjwSQsdF+MS65kWLofzBVX6eTe+1TetOltx7 geW22ooKbl8Bye1oTrCeY7Ziw1VgSGRSAYtNk9IJQxCGgVhnAONRj6mPOPINkNkcY0TV 0xIJlCkdTdqLLElnhcwavb48j/M2fiab1bz/sNIgBGHOX0JzrOHVFeM8r/Q9LNPpOnf0 O9XYW7UNoIoB1MScsE/2Cvq6hsGh1DrVkVYobSPOyNJZ/ZnqEZCoTZcSdjH/Liz84VDY yV7q4yuPAjvcosRHGH0LgZ60jdaNBkQSDLTtNTKEuAWnNWN8WChmpGWnhLBYgewU/x64 JMYQ== X-Gm-Message-State: AJIora+574n4jiYVoHx3l/lJQxeLcRdj/D+VPPS1Q2WCIXYfZWJu4rlt MLjeaW2cmEBwdehVec8PWq5lVx59LTi1MEzeX2Q= X-Received: by 2002:a05:6512:1390:b0:47f:74c4:dd45 with SMTP id p16-20020a056512139000b0047f74c4dd45mr1117184lfa.536.1655715098427; Mon, 20 Jun 2022 01:51:38 -0700 (PDT) MIME-Version: 1.0 References: <20220619151225.209029-1-tmaimon77@gmail.com> <20220619151225.209029-6-tmaimon77@gmail.com> <040f149b-c441-c778-6d4f-f3b2b2afaf4e@linaro.org> In-Reply-To: <040f149b-c441-c778-6d4f-f3b2b2afaf4e@linaro.org> From: Tomer Maimon Date: Mon, 20 Jun 2022 11:51:27 +0300 Message-ID: Subject: Re: [PATCH v3 05/18] dt-binding: clk: npcm845: Add binding for Nuvoton NPCM8XX Clock To: Krzysztof Kozlowski Cc: Avi Fishman , Tali Perry , Joel Stanley , Patrick Venture , Nancy Yuen , Benjamin Fair , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Philipp Zabel , Greg KH , Daniel Lezcano , Thomas Gleixner , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Arnd Bergmann , Olof Johansson , Jiri Slaby , Shawn Guo , Bjorn Andersson , Geert Uytterhoeven , Marcel Ziswiler , Vinod Koul , Biju Das , Nobuhiro Iwamatsu , Robert Hancock , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , Lubomir Rintel , devicetree , Linux Kernel Mailing List , linux-clk , "open list:SERIAL DRIVERS" , LINUXWATCHDOG , Linux ARM Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On Mon, 20 Jun 2022 at 11:21, Krzysztof Kozlowski wrote: > > On 19/06/2022 17:12, Tomer Maimon wrote: > > Add binding for the Arbel BMC NPCM8XX Clock controller. > > > > Signed-off-by: Tomer Maimon > > --- > > .../bindings/clock/nuvoton,npcm845-clk.yaml | 49 +++++++++++++++++++ > > .../dt-bindings/clock/nuvoton,npcm8xx-clock.h | 49 +++++++++++++++++++ > > 2 files changed, 98 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml > > create mode 100644 include/dt-bindings/clock/nuvoton,npcm8xx-clock.h > > > > diff --git a/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml b/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml > > new file mode 100644 > > index 000000000000..3d4fddc090ca > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml > > @@ -0,0 +1,49 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/clock/nuvoton,npcm845-clk.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Nuvoton NPCM8XX Clock Controller Binding > > + > > +maintainers: > > + - Tomer Maimon > > + > > +description: | > > + Nuvoton Arbel BMC NPCM8XX contains an integrated clock controller, which > > + generates and supplies clocks to all modules within the BMC. > > + > > +properties: > > + compatible: > > + enum: > > + - nuvoton,npcm845-clk > > + > > + reg: > > + maxItems: 1 > > + > > + '#clock-cells': > > + const: 1 > > + description: > > + See include/dt-bindings/clock/nuvoton,npcm8xx-clock.h for the full > > + list of NPCM8XX clock IDs. > > + > > +required: > > + - compatible > > + - reg > > + - "#clock-cells" > > Use same quotes through your patchset - either " or '. Do not mix. > > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + ahb { > > + #address-cells = <2>; > > + #size-cells = <2>; > > + > > + clock-controller@f0801000 { > > + compatible = "nuvoton,npcm845-clk"; > > + reg = <0x0 0xf0801000 0x0 0x1000>; > > + #clock-cells = <1>; > > + }; > > + }; > > +... > > diff --git a/include/dt-bindings/clock/nuvoton,npcm8xx-clock.h b/include/dt-bindings/clock/nuvoton,npcm8xx-clock.h > > new file mode 100644 > > index 000000000000..e5cce08b00e1 > > --- /dev/null > > +++ b/include/dt-bindings/clock/nuvoton,npcm8xx-clock.h > > @@ -0,0 +1,49 @@ > > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ > > My comment about filename is still waiting to be resolved. I asked for > same filename as bindings in v1. Right, forgot to modify the file name will be done in next version. > > https://lore.kernel.org/all/CAP6Zq1gXEqqquKzxTHoxYnvh2LCGt-ES+k=aX61FKyHW5WB62w@mail.gmail.com/ > > I am still going to NAK it if it is not implemented. > > Best regards, > Krzysztof Best regards, Tomer