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=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 8DD8FC4338F for ; Wed, 11 Aug 2021 18:07:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 45D146101D for ; Wed, 11 Aug 2021 18:07:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 45D146101D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L+cYTcdGZhDklap6igGg0YHio5DY4Lp5JM+gJqBgqEE=; b=0C5baTFuOYejAi bMYWXoF9KETYZiTAGKILofdp0QhNQX6cjLcxB+WT7NwB/9CKZCnja2ulaZLYc0ToWEF6xZ4KP+40u ZyK9NyucGC/ht4K3HpsX73OSmlC/ntm1T+ApCTyrlC1uObmvigM8vVSo59EIcO19YBWPhCLPKwF+E P6BrGKgh93Ll56NB0yTHjUwfEJisWp5n/7wOl7vN46ebwfTETzavhnAVxNCJD1Z4FouqoMHpWPsNf CD70aiA277NK4Xfpi9EsMieYp1F1FAMPR3Up+F+x7Ir49cgrESSY/9tXIJhyIaa7CbcCw7INf4H0z x3loQW4YAhIEQWUoiaoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDsaw-007qUv-Si; Wed, 11 Aug 2021 18:04:51 +0000 Received: from mail-pj1-f48.google.com ([209.85.216.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDsaq-007qU5-EX for linux-arm-kernel@lists.infradead.org; Wed, 11 Aug 2021 18:04:48 +0000 Received: by mail-pj1-f48.google.com with SMTP id bo18so4860763pjb.0 for ; Wed, 11 Aug 2021 11:04:43 -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; bh=eKtlG454in3Dc/QU9s2cgp31LIi/iAWHdH0tzX1ufew=; b=CL8aLkh581HGbpTq0q4oV+Xe/RHtKhZR1HB7s7bKDUmTwq9AESZL/RV28vnkILSFRF dnRcYR/J+I4trYeflkgAh0BsF/VC6blA+ZlSvTNU6bKq2wcZXpopf18O61pARqhp2w6F M2E4hpNJFY0M7s8Z+hPpY/ojfTskuM8X2e96M4bwLwg2Z4ZwuIJKsHQ2+7a6wRJhzYo0 vAJyYKvN/fRhFfqbu0h/3YlkMhFwEdgVkv96/SJWnDbBgaF203Psm8IHsnsOGqKb0biA Z9D872KZxsqgImC0s5xUPGp6m9ZxL1pRLPOhWg98GSDSXGltBBMfRV3YkoqqEZlKw03z GdUg== X-Gm-Message-State: AOAM533rOdqrLzi7SfoO3g0PjD5JO1y8enOU5Ah0okhPrTA5raJJM0YP 0F1RP7o5E0NNEBjItujpiw== X-Google-Smtp-Source: ABdhPJzUpqUdnU6CQA6cwHSbG7+5+AB9EFa+JIFSqM1aIg7k4CDMZq59oDbbzajYfkw+SKdD9F2AmA== X-Received: by 2002:a05:6a00:1c65:b029:3cd:e06d:c0b5 with SMTP id s37-20020a056a001c65b02903cde06dc0b5mr75591pfw.38.1628705083171; Wed, 11 Aug 2021 11:04:43 -0700 (PDT) Received: from robh.at.kernel.org ([208.184.162.215]) by smtp.gmail.com with ESMTPSA id v7sm90625pjk.37.2021.08.11.11.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Aug 2021 11:04:42 -0700 (PDT) Received: (nullmailer pid 3882 invoked by uid 1000); Wed, 11 Aug 2021 18:04:38 -0000 Date: Wed, 11 Aug 2021 12:04:38 -0600 From: Rob Herring To: Oleksij Rempel Cc: Shawn Guo , Sascha Hauer , kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Fabio Estevam , NXP Linux Team , Daniel Lezcano , Thomas Gleixner Subject: Re: [PATCH v1] dt-bindings: timer: fsl,imxgpt: add optional osc_per clock Message-ID: References: <20210803072958.4815-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210803072958.4815-1-o.rempel@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210811_110444_530705_826D7BAD X-CRM114-Status: GOOD ( 17.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Aug 03, 2021 at 09:29:58AM +0200, Oleksij Rempel wrote: > Add optional osc_per and fix dts validation warnings on imx6 SoCs. > > Fixes: df8cad689eae ("dt-bindings: timer: Convert i.MX GPT to json-schema") I don't think you can say the above commit was broken. > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/timer/fsl,imxgpt.yaml | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > index a4f51f46b7a1..e496dd9f4988 100644 > --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > @@ -43,11 +43,15 @@ properties: > items: > - description: SoC GPT ipg clock > - description: SoC GPT per clock > + - description: optional SoC GPT oscillator > + minItems: 2 The 3rd clock is valid on every version of the h/w? > > clock-names: > items: > - const: ipg > - const: per > + - const: osc_per > + minItems: 2 > > required: > - compatible > @@ -70,3 +74,16 @@ examples: > <&clks IMX27_CLK_PER1_GATE>; > clock-names = "ipg", "per"; > }; > + > + - | > + #include > + > + timer@2098000 { > + compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt"; > + reg = <0x02098000 0x4000>; > + interrupts = <26>; > + clocks = <&clks IMX6QDL_CLK_GPT_IPG>, > + <&clks IMX6QDL_CLK_GPT_IPG_PER>, > + <&clks IMX6QDL_CLK_GPT_3M>; > + clock-names = "ipg", "per", "osc_per"; > + }; > -- > 2.30.2 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 348C2C4338F for ; Wed, 11 Aug 2021 18:04:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 138376109E for ; Wed, 11 Aug 2021 18:04:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbhHKSFJ (ORCPT ); Wed, 11 Aug 2021 14:05:09 -0400 Received: from mail-pj1-f44.google.com ([209.85.216.44]:55283 "EHLO mail-pj1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbhHKSFH (ORCPT ); Wed, 11 Aug 2021 14:05:07 -0400 Received: by mail-pj1-f44.google.com with SMTP id a8so4760072pjk.4; Wed, 11 Aug 2021 11:04:43 -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; bh=eKtlG454in3Dc/QU9s2cgp31LIi/iAWHdH0tzX1ufew=; b=a/0TGRSdaBuPi+aVQk6Z+gaDAANPpxqpQj3JOZVsgNzKpzkEY7aJbrO+rNA1N4J/cm gKAz2PCNX61LnaCWDj++f0uiUSDiRYTirIT/D8k7G93Gbw6cXue+Tsng0KrDE8JpMUSV rwfQLCGC8XpfPSFQz7Z0qwuLsNgAqpZJ6tARl1bMfX9y2Frq4hrI1+sHlRkpFIE6J3w3 aBKX7wcro2YzjujFQslwPAWD3cTLaHm3s5O/ywsY/YTyJQ53c355WRMbdBUL0Cn7uE0F TxI4qmJ8hfBab5osS2sxGzwQNPDWQqjlO86V5cnj01kxJ1IYp/Dm12D6/ea6klG6/iZI 6S1g== X-Gm-Message-State: AOAM531ee+nIC8iT+JQ/WMVc696e42s3WA9ISEw9HwMScDp8JIZ2lTz4 dw5Pm9yNjEVuMRHSn2QIHg== X-Google-Smtp-Source: ABdhPJzUpqUdnU6CQA6cwHSbG7+5+AB9EFa+JIFSqM1aIg7k4CDMZq59oDbbzajYfkw+SKdD9F2AmA== X-Received: by 2002:a05:6a00:1c65:b029:3cd:e06d:c0b5 with SMTP id s37-20020a056a001c65b02903cde06dc0b5mr75591pfw.38.1628705083171; Wed, 11 Aug 2021 11:04:43 -0700 (PDT) Received: from robh.at.kernel.org ([208.184.162.215]) by smtp.gmail.com with ESMTPSA id v7sm90625pjk.37.2021.08.11.11.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Aug 2021 11:04:42 -0700 (PDT) Received: (nullmailer pid 3882 invoked by uid 1000); Wed, 11 Aug 2021 18:04:38 -0000 Date: Wed, 11 Aug 2021 12:04:38 -0600 From: Rob Herring To: Oleksij Rempel Cc: Shawn Guo , Sascha Hauer , kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Fabio Estevam , NXP Linux Team , Daniel Lezcano , Thomas Gleixner Subject: Re: [PATCH v1] dt-bindings: timer: fsl,imxgpt: add optional osc_per clock Message-ID: References: <20210803072958.4815-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210803072958.4815-1-o.rempel@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, Aug 03, 2021 at 09:29:58AM +0200, Oleksij Rempel wrote: > Add optional osc_per and fix dts validation warnings on imx6 SoCs. > > Fixes: df8cad689eae ("dt-bindings: timer: Convert i.MX GPT to json-schema") I don't think you can say the above commit was broken. > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/timer/fsl,imxgpt.yaml | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > index a4f51f46b7a1..e496dd9f4988 100644 > --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > @@ -43,11 +43,15 @@ properties: > items: > - description: SoC GPT ipg clock > - description: SoC GPT per clock > + - description: optional SoC GPT oscillator > + minItems: 2 The 3rd clock is valid on every version of the h/w? > > clock-names: > items: > - const: ipg > - const: per > + - const: osc_per > + minItems: 2 > > required: > - compatible > @@ -70,3 +74,16 @@ examples: > <&clks IMX27_CLK_PER1_GATE>; > clock-names = "ipg", "per"; > }; > + > + - | > + #include > + > + timer@2098000 { > + compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt"; > + reg = <0x02098000 0x4000>; > + interrupts = <26>; > + clocks = <&clks IMX6QDL_CLK_GPT_IPG>, > + <&clks IMX6QDL_CLK_GPT_IPG_PER>, > + <&clks IMX6QDL_CLK_GPT_3M>; > + clock-names = "ipg", "per", "osc_per"; > + }; > -- > 2.30.2 > >