Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6133397iog; Thu, 23 Jun 2022 12:03:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1viySVWbBL0KtG2EXmFvc90++qrOfccm7/nPZ/918Tt0peg/F3bepO6xIeb59la+jwRFgMT X-Received: by 2002:a05:6a00:174f:b0:525:518e:71d6 with SMTP id j15-20020a056a00174f00b00525518e71d6mr6790388pfc.68.1656010998280; Thu, 23 Jun 2022 12:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656010998; cv=none; d=google.com; s=arc-20160816; b=JKyas7ApiEDv3Uf83/xKgyXBYDAF7I/fUr88pCXJHcgcyEJInGpW7JUO6cZa0sW+p8 MspjYxoR/ysQYJ3VJ0dZQm+mIzWm+LZbdDsHxIZHVdssDs+FBZL0NJZwHZuEOK/J4KrU bjIpCdUuIhShOBhobUy6EEX2GOkkAbJm1cvay4/AzRpkeV4vhYiyK3mRxL+iA8yAlMqD 8SIqM4n4UCZ/F2X54NylQQwD4tEAKWGcYdarbLAD9pfALQgk/6oVGb5vWnHa89UyArkF EVTWSGW6P4gvvO5MVlsYwNJKI3woFeer30NCh5EoAq+jHiXY7iHGyBOleXw9+yZdFOtb QN7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0LiHt7+BVpyxGJhgUApglsEbjl5v2t36SbDqCaMc+gY=; b=0s5H2YfFtQb8n70a+YuJi5L+uphARIfFhHjIDDXYiHhstxdVdq4EvnsAXgHajB+2ST trQaIoPyNMe6MgytvpyjUNl+Se30cEQV9bSk8mcWeBVD7UYAi+3SEEq1UasG8xKwCvW8 T99C4Ch7BeWarJrO4uNHepQH92uW1WvcpgEBQq4J4av6jJ4avN8JNwS72AYuT0UL3Zrm K/oRLP3TOd+B/JSI0R8PYFzu8v2W+g+stkaAP9dskBaZlrhtDlfSiZf/t4RAJ4Uptjd/ 1mgvpQs/Mg5X7MwIEPyO0cQ6AjA27JJ3Vcp/erC5nQXbCnayjrGFtg951IO2DxFPXM9b la7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DVWavz+i; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e18-20020a63ee12000000b0040ce841ddb8si10954917pgi.499.2022.06.23.12.03.06; Thu, 23 Jun 2022 12:03:18 -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=@linuxfoundation.org header.s=korg header.b=DVWavz+i; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234465AbiFWSYD (ORCPT + 99 others); Thu, 23 Jun 2022 14:24:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237347AbiFWSWb (ORCPT ); Thu, 23 Jun 2022 14:22:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54AC768C79; Thu, 23 Jun 2022 10:25:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3E4FD61DC6; Thu, 23 Jun 2022 17:25:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CA58C3411B; Thu, 23 Jun 2022 17:25:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656005123; bh=G8RvLNKUb/5NcSJr+pWqANeKbiDipPRXt8onOMoUFNQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DVWavz+i9wBxZBsRbl2Zfygn4y9zAZ3xnubHA2IqyymPneVmGBuoJyDBMXYW+2Wow v0DKa9Rcxs3F/qQiBf0181hBlr3o1gZuDz8QCBDfvppSATYTmB7wDHYf3FhvlEQqc8 lD6QrcYr5uH0SCGaBoBvvN9VA7XUx7+crgFJ+9uU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Anderson , Srinivas Kandagatla , Michael Walle Subject: [PATCH 5.18 11/11] dt-bindings: nvmem: sfp: Add clock properties Date: Thu, 23 Jun 2022 18:45:23 +0200 Message-Id: <20220623164322.643045783@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164322.315085512@linuxfoundation.org> References: <20220623164322.315085512@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Sean Anderson commit 8cb0cd68bef75af5ac8ef93f3314d4f8dc8767a3 upstream. To program fuses, it is necessary to set the fuse programming time. This is determined based on the value of the platform clock. Add a clock property. Because this property is necessary for programming, it is made mandatory. Since these bindings have not yet been present in a stable release (though they are on track for 5.18), it is not an ABI break to change them in this manner. Signed-off-by: Sean Anderson Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20220429162701.2222-13-srinivas.kandagatla@linaro.org Cc: Michael Walle Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml | 14 ++++++++++ 1 file changed, 14 insertions(+) --- a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml +++ b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml @@ -24,15 +24,29 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 1 + description: + The SFP clock. Typically, this is the platform clock divided by 4. + + clock-names: + const: sfp + required: - compatible - reg + - clock-names + - clocks unevaluatedProperties: false examples: - | + #include efuse@1e80000 { compatible = "fsl,ls1028a-sfp"; reg = <0x1e80000 0x8000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; };