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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 55EBAEB64D8 for ; Wed, 14 Jun 2023 19:18:36 +0000 (UTC) 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=YnJGU1LpwxSJFW5CoV25n5GNDUaLfqZTYOeJplbxuRs=; b=HdseVgHL8RsYQH 41VJDD6i3ascN1Xu+yQjqkOuHcPHJY8qNBT6z9byuKaa/pVCHK4eOoR5HTq++F8C4OoHIPqBqPQxJ V8tQsGCd1LIrmSVaXuiV/iJTeX4u6mRmJAltIEUKOsMN2B5cAeSZw8KqoORaoYSyiwqPm9sjyJgML K13IsJZyfXygrGBS1hzeY4nSQwO02Z4VOFK6TLi59lQoHNf7NLnMYOF4gjybJ91ccxLfj5jdPGZOG R//QNFUlV/6uZR6VJ6n496tt3DdOR5Py+5mFxIUbYAXLw8ylyWoiHpoE8bi7WWVLgvyz5ES0ycoWg CjORr3qTdtNFuSOC7PRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9W0W-00CWd1-2U; Wed, 14 Jun 2023 19:18:16 +0000 Received: from mail-io1-f44.google.com ([209.85.166.44]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9W0T-00CWcI-2c for linux-arm-kernel@lists.infradead.org; Wed, 14 Jun 2023 19:18:15 +0000 Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-777a78739ccso387408139f.3 for ; Wed, 14 Jun 2023 12:18:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686770292; x=1689362292; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YBpMMsjcbe1wo6wOZhJlr/oSYFVntydqWqDrNGep1l0=; b=INRi7nJLHkq7IopZaqhuc/bll0qkAIYtiobX/V/4qxmupDOoSomlC+aJ37RfYm53r/ nuM3+URpbCP9Iz3sF89GbC+xnIWMS2zZ9oUD1G3ACQmQT8Y1LdZt9qyH3ej6nD6zdx6o dn81MgZlJ2NDFox9TzTpB73FOVJLzKxY9OmDc5Pv2Od+qJ0/hRKq5PaInV4EBH1uMLUW CgR7/wQeV8yUqK0lv3BIhMr5kCdKzx5LbctTBvAdFDQHiHQUM0ZrpPMMn6ucBOmsrqZF mlo5YwEhRB0gkOhwFVZVyLCSjJVnCaartuT4DG6p9XrlxtL5JeWVQ2PIz3xuUp/RyMfH r8jw== X-Gm-Message-State: AC+VfDz3yoYiLaKc6x0Vgh8zL9bu6y5OUb9bLQz00/GvEh9xqOEn7K/8 NWDBX+ZiEpevzcymRYzwKQ== X-Google-Smtp-Source: ACHHUZ5c57N/o0GzC8aXwuQsvNktRZIXbCA+u83AThjFLnR3buYrBFGMs/uzsSp0OtJJ2l8Rq3rG3w== X-Received: by 2002:a05:6602:299a:b0:776:cfd8:b44a with SMTP id o26-20020a056602299a00b00776cfd8b44amr16111912ior.8.1686770291867; Wed, 14 Jun 2023 12:18:11 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id b8-20020a02c988000000b0041f5ff08660sm5160476jap.141.2023.06.14.12.18.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 12:18:11 -0700 (PDT) Received: (nullmailer pid 2587113 invoked by uid 1000); Wed, 14 Jun 2023 19:18:08 -0000 Date: Wed, 14 Jun 2023 13:18:08 -0600 From: Rob Herring To: Oleksij Rempel Cc: Abel Vesa , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Herbert Xu , "David S. Miller" , Dmitry Torokhov , Ulf Hansson , kernel@pengutronix.de, Peng Fan , Fabio Estevam , NXP Linux Team , Daniel Lezcano , Thomas Gleixner , Michael Trimarchi , Mark Brown , Dario Binacchi , Anson Huang , Marek Vasut , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-input@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH v1 6/7] dt-bindings: clock: imx6q: Allow single optional clock and add enet_ref_pad Message-ID: <20230614191808.GA2581397-robh@kernel.org> References: <20230601101451.357662-1-o.rempel@pengutronix.de> <20230601101451.357662-7-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230601101451.357662-7-o.rempel@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230614_121813_846785_C90060A9 X-CRM114-Status: GOOD ( 20.37 ) 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 Thu, Jun 01, 2023 at 12:14:50PM +0200, Oleksij Rempel wrote: > All clocks for this driver are optional, so this change allows the It's not about what the driver supports, but the h/w. You are saying this SoC can operate with only 1 of any of the clock inputs? > 'clocks' and 'clock-names' properties to accept a single clock. > Additionally, 'enet_ref_pad' clock is added. This resolves the following > dtbs_check warning: > imx6dl-alti6p.dtb: clock-controller@20c4000: clocks: [[24]] is too short > From schema: Documentation/devicetree/bindings/clock/imx6q-clock.yaml > > imx6dl-alti6p.dtb: clock-controller@20c4000: clock-names:0: 'osc' was > expected > From schema: Documentation/devicetree/bindings/clock/imx6q-clock.yaml > > imx6dl-alti6p.dtb: clock-controller@20c4000: clock-names: > ['enet_ref_pad'] is too short > From schema: Documentation/devicetree/bindings/clock/imx6q-clock.yaml > > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/clock/imx6q-clock.yaml | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.yaml b/Documentation/devicetree/bindings/clock/imx6q-clock.yaml > index bae4fcb3aacc..ed65d19c2e0e 100644 > --- a/Documentation/devicetree/bindings/clock/imx6q-clock.yaml > +++ b/Documentation/devicetree/bindings/clock/imx6q-clock.yaml > @@ -28,20 +28,23 @@ properties: > const: 1 > > clocks: > + minItems: 1 > items: > - description: 24m osc > - description: 32k osc > - description: ckih1 clock input > - description: anaclk1 clock input > - description: anaclk2 clock input > + - description: enet_ref_pad > > clock-names: > - items: > - - const: osc > - - const: ckil > - - const: ckih1 > - - const: anaclk1 > - - const: anaclk2 > + enum: > + - osc > + - ckil > + - ckih1 > + - anaclk1 > + - anaclk2 > + - enet_ref_pad > > fsl,pmic-stby-poweroff: > $ref: /schemas/types.yaml#/definitions/flag > -- > 2.39.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel