From patchwork Fri Apr 22 14:51:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823599 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 601CCC433EF for ; Fri, 22 Apr 2022 14:53:53 +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=SnjC7q0edd5zOayYHF0qYgTLxINxEyw5+VSXK5YXAUM=; b=jNH1VxNP50CZCK fq4x/l77l1vLwcjMqa1fyRXoQu0ufGWoRe80h76h2IoBTpsGQmw2gaxwGvVTUdY2wFn4N5Fb8enDP pZBInQ0GHVlPD59zDFL11OqgB4AKpcJn2rFtXRzMapCsjMOexBJAjsYlFsLgsGY0iJgPO7kFabAMy zvca6m/F6zUkYcNeoufJEhbHaWan0vSpoSE+vUzvbGS6dzjAUaCZmVQvyhUrDn//WIIrZ+XaG7FTH N9LckfTj69Swvv9l+faqd3K7/J6L4ifSfcWBhbTP2JvDoctuW7tC3qPFnb1EqD5WXFXwkz3MUHAKb mEMXH8OW80BdQvYRcdeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhueH-000ueN-LI; Fri, 22 Apr 2022 14:52:42 +0000 Received: from mail-ve1eur01on061c.outbound.protection.outlook.com ([2a01:111:f400:fe1f::61c] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhudq-000uO3-FX for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WyyGvGaujhSXeh+xHG0RJcTp5QR1UDuVzQoLuf2lXPRZlNUXyhgqwdkbToZVHwLG83EyZeT7P/TQTy08j9FqWd1fTJLSMKyBIokMszMtWNUrPl55ibyHBXFmANC/ZBq7IXeczPhhrdBVcX/vbxNS99TofWNwUp1HbjG933zKVfs8g4S6U+28IQwbVLHPXVrPRAWyAOzJ+AWvS6al0HRvazbDGxmAeuq/yZr7X1MCYNk/MCpixULj+oMwi6RKQn8hMb/pq6CMksRm2lnciL0kmpfr9sqIQb2g3xjJpsGm3z8n7tU22Wo7I5SXIxyxJZueiTq+/yn8EmaETlOAEvGAUw== 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=RChCXrT67KoBpIukEbUSO1fleCfN5aKYFbekdndiBWY=; b=HpD0/TgoLJttFStXCeiJagdjN2SkU6NekuxlXI1xX/h0KyF6J9qxpfp5mCNPQ6do6Rwtare60UtdV63LtZAB2igm1cybPi8zOdQyevvBPwcLdy2KiBJBtN2/UvxP24vdXeIF/qL3b1Qgbljz+uYj1qNvUVyOsLwR9wuhxKRrVRc/4qj4W58d9lv4fMpy8e+kb7XHgri8YUgXb59c6Ft3orTgWrZzSHiIKUe7GzdIl3b2N7bw6wvaiZ9qscL1GZQxnu3c60E7Dw8o7uQ4XrIQg2IvYxEr6du9UvuXz7fPqjaTLT6kabkVDqW+peqAcH/DIyfTKP8jD2YX2BlDyrpoFQ== 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=RChCXrT67KoBpIukEbUSO1fleCfN5aKYFbekdndiBWY=; b=JFOeFv847Bn23jx8GoXXQd+duRuFTyrCgSURUW7fzBGiZqCiGh9aERLRLmt4qGYseewBoVJ11EwhMUKziJxkkzQipdQupBmy2qIB0WjNxZNtsA+y6q8jVOPFWqy4Gr0wr75h2FdMn8ZJBw7VSoTd5kXQdBhbVkpbH9H1q+TlJcQM+4/9hhy6omFbUcVqW0gkNscEkvkTIQdKPW7sOFsWSaeMP2OqjlbNTFvtIXbRuy5+20p0c4t0audopvFjdDbsgX0uqo85qZjdzV0DeMD9Q5TyM2Wc294bKJSfSvDpJBdpia5azEiEbxrxUF56j5dSv7VvZ42vOpWrUFt6y8y4QA== 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 DB6PR0302MB2792.eurprd03.prod.outlook.com (2603:10a6:4:af::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.15; Fri, 22 Apr 2022 14:52:01 +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; Fri, 22 Apr 2022 14:52:01 +0000 From: Sean Anderson To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Andrew Lunn , Rob Herring , Shawn Guo , linux-kernel@vger.kernel.org, Srinivas Kandagatla , Krzysztof Kozlowski , Li Yang , Michael Walle , Sean Anderson Subject: [PATCH v2 2/9] dt-bindings: nvmem: sfp: Add clock properties Date: Fri, 22 Apr 2022 10:51:40 -0400 Message-Id: <20220422145147.2210587-3-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220422145147.2210587-1-sean.anderson@seco.com> References: <20220422145147.2210587-1-sean.anderson@seco.com> X-ClientProxiedBy: BL1PR13CA0065.namprd13.prod.outlook.com (2603:10b6:208:2b8::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: 21373054-5f57-4778-1215-08da246fa8b0 X-MS-TrafficTypeDiagnostic: DB6PR0302MB2792: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: NHaXjVLwTiBEtWuLaPXBlhACaBNmDRu8q4kGUfD/ilVyGIjRjkWSYeUAliqvkXXfAAPC/WnW1LdLSsIkG4SjxrSrqlusykopmKXcI8kdyq54Sa6kVY3qkYlC/A+um2JOjj7dqpAU6gG9QAlI+4LciSZUDXB5AauoHQvMAtFjv1bH5Xcef+WUfCdPaHERTA+ZI6YuehL3XhguN8G6eFMqTYicbMSaPGeg1SA/S2nTRhGwlWYiUxU5qmslHEn2/Vaa5boYnJXyDr5xwOXZ+nrK9YK3JqpwHLJ4dSbQwxaxhhemQEdn4mtB5bhs0cRcNhj4B46IUM6ysCQt5pcwjUqg6CIoTRlRqJCb1vjwujs9qndDAlhTNksPlBEdWpOe+fB4w5SR5KbwKoIlr3wUgQr6xD42kGLaRa1LkzS8DJkRz14GsSUrLwCOdWDxeoJwOtj+EOJyW1psqw88/lgEFjRGM8u6MqV+02UPHTr33oR4bmEnAXYaoUx5rkegEmHsMDPhULQ2DHpskpFV59j1mT63IbEtvbGMXDrKBhE+ct4Do9a7Ssu4UOX8M6u3zXJ0OQDSQJheGy2v83d4M91p49W60cQiZR52GGgdesoByjd+Ix+/0au8GfoSiYile17ScNcJEMhCo5MDW58UpuzJI65nJ1aPCHYhGQQ5gKsT8ZcjrL5Dxcl4pFQK4e5SxQbRatsqCw9pVfvg/e2c0oZTnNcYtg== 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)(38350700002)(36756003)(6486002)(508600001)(186003)(38100700002)(52116002)(83380400001)(8676002)(4326008)(66556008)(66946007)(66476007)(6512007)(86362001)(6506007)(316002)(2616005)(8936002)(26005)(1076003)(107886003)(54906003)(44832011)(7416002)(6666004)(5660300002)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AdxQeqAAkA4vHYA6jATMvUbGAzOm4ON5cTfPOpEIol246KES9B3IpwBXnpnmHjSJEB1/1ywfMmzgJm71V8d4Ls+qo/3R5g1C4d6RirMXEQmdmHjrtxgLreHNz3s+mRJRdH6OdOR72yK3Y3dxKtuSq94IAgGv4hi5PQUsaURLtKOZSsbNtZOr1dHSBaVE2bogi/rEW2QDgqb8HD97+8RdqGI7SojD7oC5NkkXxrdKkxb3ufmRboGZhLmRsCmQkUPqOpIzcpTTQmxnsFw2UgZnl2/cIN8d+OF8vcfXWhB8mPszIr/YV5mNF5tUeo+hEuYc5sjadFLIpQEj3mvJG8iM9ax7SkuqtBNSyvN4xKLifdUkGSHgoPVjARw8k4Txt9R+BkdnPwU3f6+XlIabv9X6NN9P1cfI9c9h8Ao6UzwYKDX1loOJ65HEA/gAUY+zxLERb482y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ChQsW2sO2c6M6pwXPDsAWXvzqlKmWYfpCsiSt2VWehYFPsmQICKy789U4KOOsby0KIy5lqKjbAJEjS3wyeogRhITJczyEB8B38O33qfX/jwW1My12B+doZrjAG+MwIuwRcuHgo2HFObeA4P1FLOF9Q/dkvAlbcBk8xwc9R9tdAXAXJSPOk6UpfbkqCt/FWnA++7XYPVBhNoUSZjY9J0noMf86+12GZ9wg= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21373054-5f57-4778-1215-08da246fa8b0 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2022 14:52:01.8458 (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: T67w9bMd2kGGLOjfYXnJsgTFdUSFFlOKee6C5a/mxie46kHyFdSUJovAdGu9ZQYSdnhufh3LENtPtD9kibUNyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0302MB2792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075214_544852_E31A1AE7 X-CRM114-Status: UNSURE ( 9.07 ) 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 --- (no changes since v1) .../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"; };