From patchwork Thu Apr 21 17:56:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12822148 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 79A59C433F5 for ; Thu, 21 Apr 2022 17:58:46 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9+NOqgAH9d3BjvcNU5/FKZZSXAguUNjb45kF4FPWTs0=; b=Ekv7lax/VuxXCt LNB0gv9kQ2BPxd43H5VrF6l++k0t8CPgKsoERTIMvs9LO8M2KHzkJ9C2AI68EU+33lFEiAEOPC6tu hFOc9dWa6o1DoixrFho2gVmvI5fTRHhZ7QgvJ1s34JWvOaWweFrtricKPDzc1KJbVxi25+pDGJJZ9 3VB3Vmw21pGyq25/5TkF3uIIiU6JEjDVP5cEpqznIVUg/gcZcUvwbrvKFcdiNjnbS3RkNNzgFky8a RxHf9BS1MqJrqu4JJEfV+/Z2AQBQRbdcFEQ3X3QAez1HJJsZfcvq5ZGDeDeapMRcywfSLo6SWJrej g9NV7fQwwqVMOrCykoHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhb3k-00EWfC-Fo; Thu, 21 Apr 2022 17:57:40 +0000 Received: from mail-db8eur05on2062c.outbound.protection.outlook.com ([2a01:111:f400:7e1a::62c] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhb3Q-00EWUX-64 for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 17:57:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dKQOTl3acp/eRIgCI5lr/jYYT1Cv9n4zMGGGtj5dYa4Wku5e6U0t3UPvMJV9ageU8qqSHLuF8Dy31fHJtAUDSC0iHA2A0GRHRb1a7rrLg8gVkpfJ+fYuii9R2UM6qu6DrodBBNCbyDwbaKdX3Mq3+y0AIXiX2fwZr4L7jT0A/e0nUNSKeqMUj9lHoRzYTibl3aDNRFJrgcGLNSIvThTDpx4P5JhWy5XSj8yWAmmt1TfULKm64qMWPGTQgw9MRAdagtaF9vTIGvvccb7/15IANqkuV83K91UYe/i/W7kr0tV4n/k0LIa2JTpfYAG+tbZNs8pYsPB+08OT/Xz4fEEzHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=j2uq07iIVm10MJyFcKFA+LOZyHYAZlm9hF/QuV+/QzY=; b=UmJJtzQisJJRIyD1ncC4tjOwf5X+7SA4Z0tLz8BO70FV7lXxOv3jj9D5G4COg+i5UrtYAfdynD56VXAVqB3u9Ea1s6nEsDiqQFq/b1aWEUF9SkdJ07baGOb18eRa2kah6A4sGUENSVXB+bJZNS9NSHvC5tHR3EQ66wwubsdqGJ7oKs0k0t6x8xya+eKdEryOiL5b6JInsPclIUus+65C+MVwQJI2ZNqyVpa+eXDsfv64ytJBtp1wJl3SffJHjnOy3mp66sVvG/8dljql8ESklpLWMkmk6u5T+1QBd9Fr6El7Ciw+ri9lQ1y1+ElBbCxA8giqvbDoDj/KnLfsVX7YXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j2uq07iIVm10MJyFcKFA+LOZyHYAZlm9hF/QuV+/QzY=; b=BIDTncPCXyJQkWlJFEbIY2SpAl1CF6lTo/zq9bYmtz6vv2Si2jy5dSEVZ5WLoxAD2D8balUb+0Jy6gW3dPncqPho3ed+8cPzSqeFQgLUZ0OIt9GsbFyAuu0ScIf1/vNa7cAkkHSdVRDFrcPH2D01SEHo4i2VM0U+RfpAkEDV0t2Usrq5ow6V4ZlFHfm1mDnhIOcJsaNcC5u10/ZR09VaBvmVSOiaz220aUUvMXCvUJWWF49yyVssqMV92b7wBS5RQM2VYmCoFFa+VZ7FYmfhI2fEeFM2VtV0i8KKaySLTN/MSpiMMLp8HQR5ZiaC4jh9Auhm7nay0cNO2e/w+pfiqw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) by AS8PR03MB8101.eurprd03.prod.outlook.com (2603:10a6:20b:444::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.15; Thu, 21 Apr 2022 17:57:12 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::714d:2b6:a995:51bd]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::714d:2b6:a995:51bd%4]) with mapi id 15.20.5186.015; Thu, 21 Apr 2022 17:57:12 +0000 From: Sean Anderson To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Shawn Guo , Rob Herring , Michael Walle , Krzysztof Kozlowski , Li Yang , linux-kernel@vger.kernel.org, Srinivas Kandagatla , Sean Anderson Subject: [PATCH 2/8] dt-bindings: nvmem: sfp: Add clock properties Date: Thu, 21 Apr 2022 13:56:51 -0400 Message-Id: <20220421175657.1259024-3-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220421175657.1259024-1-sean.anderson@seco.com> References: <20220421175657.1259024-1-sean.anderson@seco.com> X-ClientProxiedBy: BLAPR03CA0125.namprd03.prod.outlook.com (2603:10b6:208:32e::10) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 95ecb407-e5fb-41d6-227f-08da23c05ccb X-MS-TrafficTypeDiagnostic: AS8PR03MB8101:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v4er7u90ad0rDEFgK6RdW1gZKuoFgDkT8qEtdMA2LXu+6TTo/eUsynxkjHDq51CcEh0y/WDSKhqi9OQEgYU72QjJ0FmUlL2wKGvWnp5rpxFu1A0Z1MoBB+dDzvhvw2ZyzeRg52Fn8syTMwrTWdNDrhVUUQkuKwRfRVNVxSDAiNuIusv37dty9f6sbbx8Hl3atjDERzokvQ7Pa80DE+XwaLpE4p9qAVox31JdwYBbQyW+OcyHjcW3Ci1n5MvtfC0xemmm3kFNWqxYpkx0PFszqjtxTDTXzKEAhX0bgegNb8o17rhshsnkDwc80AIW61r3NxDVtNW9LvGahtR66e3dHYlMEepSEz/Z9X/5Mr+6dFlldjWGv9luj7sRLbTXdG5EfFduw9qkCm/iCYc8uJtEDjRmH/9RGoBEAZEXWOWcnN24XClN+nAK4+lc0gDF9xVo75L9VbsrITGgDCRZX0dM6302XXZvuigchv4NQhH86O+2L7UmcYVkOg7P6M/tEh8JXWrWmH/KtFd5B/FGj16VZ184+TFOZOI5Eu+9bzWUV4+QnzZMvvgPkMdfqsNMc6XZ4BfjmlWma0utQVQiAUL0skmJnm06V7lRIIggL/7J+sj7xqIkvNQCYmok5NKv5uAB0OaqJghrdzgR7fCeqtJKYdaFGK0Tyrt70L5SZ/yACRjl/2ApzTKjJ7hbm80cIoroT5dd6FgfQWsi9zPkXtMhzQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR03MB4972.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6506007)(52116002)(86362001)(6512007)(2616005)(5660300002)(44832011)(6666004)(2906002)(26005)(1076003)(107886003)(8936002)(54906003)(186003)(38100700002)(38350700002)(508600001)(36756003)(6486002)(316002)(8676002)(4326008)(66476007)(66946007)(66556008)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LMHA1fOL/TMJiFZoAc9k3KyBeaJL6imFr7pdtIyw1U3+76XXJlUHtwv3DPSdauNwT1YAtmX+8uypmTbrN7LKbGn0BMN7KT8NRQvZnS+LbvqNk5/Ck0zYlZ2Ic0bTMvxvvklI3bkqiR9qdn6xDQTFTvmjh7jbrg+zItSaxZ8OQ02fgNrf1PN8nQ2NAdWSvty2jU8q9qxd2i1ndKFC1IYy3CmjgBsw75bmzMyNtg4QSGOGspHlomB9EWLBihSQtt85/EekdDJ7MxbiZadFgilowTgPpTLjriJOlF93gKaCOWsfwmCTFXeDCP+l9Wqdi5ptrEKXdHDSeIezD5mwq/Lmz5HBgeOS4JasHvlMk5YpaMp/RAa6z5sm6hEbaPyPmWhXrQ1hl9dWaNbz0BeLpK/HVOni/ptG6mCC6USjp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xCntxN1ZQ2pdYzkT3NLPBfDTbgDja6q+GRhgpp/w8Dp9301+Bn3OsXTSPvcqOYp6Jz4UXOd2dXlmy1QqLgI+M6fKrKnmIG7KrqPlQ4ggB1kC1FyWA9kVvI192AKzeSrYnXd6F4j2gKc9BA4e1OrgzvSM71SkMxB830H8bqBLD4pkGzCyqHWXn4rC14L+DtEgyNXQwoo4MxGY+Wd9h+Xmv9JrdDf88zGlR98O8FS8kG90LAOAjq0WI0FhEFZTlQgb2R5h03veLYWHlTS6R27rPixx8= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95ecb407-e5fb-41d6-227f-08da23c05ccb X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2022 17:57:12.5574 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jn4HFKnwGzhowx8MkJCkkX5pLFfHFdCyvSpkEEoHl/3kbCbEG39zyF0IoyM1OjS3h2dMaSzs2bQKXS+klB3MNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB8101 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_105720_251594_04A1057B X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Signed-off-by: Sean Anderson --- .../bindings/nvmem/fsl,layerscape-sfp.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml index b7798e903191..54086f50157d 100644 --- 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"; };