From patchwork Thu Apr 21 17:56:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12822150 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 5FB03C433EF for ; Thu, 21 Apr 2022 17:59:27 +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=QXJOAMzVZwX60QJ1+6mAcSrZitmD/s1Zz6l51g+d820=; b=FbFUEzeG5Flmkx PCxgjd7mOrl0zUwEEzIqm9i9csGG9QD5HTRmjucV3Glk+fEwkyufIt6U9T1rs2MZdBm1MveFfeiFG G5NUH+Z36z9gfvp7gcQTTGyG0HpEFkoRyhbuqjBlBJtMS6W2RZgva/MufqSnLiJZPR5ntt5jYLlfp CInpbr5MN5mEVP01iygYgDcfSYlyz9/rbYxqnwohlnR+YEqE9LN02WPhOuIsD1ebSu1v2sDTUaRqw m6YRv3wDVhrWz8RF74E+F8outqQmb2Bgj1yfp9e3wL/C8WifqAvFBD/do977DnAmI//pj1fLmGFnX cMbsXJllYVjdSWvZaP9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhb4H-00EWrK-HY; Thu, 21 Apr 2022 17:58:14 +0000 Received: from mail-db8eur05on20607.outbound.protection.outlook.com ([2a01:111:f400:7e1a::607] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhb3T-00EWWi-IJ for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 17:57:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ldv57zGrvGskWiVRv/ZUTdX5zbdcMZxPRvKvEVdJRCrvaieG7Re5qAh5BlPqXPi3rXuIcBXjkOi7nQojkN444NAKQZQIbbgd+NOqbI9sx9av+IRE56bcV3BZoxnDgS9fTCiL/xvrLGXfUdP1baXLHie9N/AowzPnTnGnju24nqfPrLjYLbScWENGwiRtrOnXQcmTRB55227P8MC3WQ/kdH2GUWYBqLumVbhQF1VUomU9jmKVt/SWc0SMFPDB9+ElbiNnMazrOJISFE3TY91R6B7Q9l/69KpelCg/erUdhFlTokwIW7hHMR6xTYtR1S4DlxaWMxXMf9W/G6dJuYrSoA== 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=J5/7UaEysX5/rTLMhKoKFqO2Zg+Suz0YTv0tK7vxX5E=; b=l3fjh5c6z6g/px99NnfW+TIlCgrZsp2XV49/biP8onw3USDN7e0XHzh5WB132L+6aZDzUfuyLPJCnQwV9fdRbWXOa7rXqOY+9yXwH1xOD1Bsgt1QnA8vFk22lZQfXMO+dqcE5owR1O11lFagt5dsTXXP+jypUmN331DS+iOYrcdeWVJMcbg/N/1d1LQ2nu8lhVdnOO2hIIeRTI/wn4uygq5HaMBgXcH1Ra0m6Te09e0FcoWjNAxk3AE+EvbyVaGyrYN2eKF2i3hTm3k+C/vpuFy/iMWSWxY9Ubmq31RMN4tkkZEyQDF82HxiUHIGK9/h+Qa7cfH+XpgOP4qTTqvLoA== 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=J5/7UaEysX5/rTLMhKoKFqO2Zg+Suz0YTv0tK7vxX5E=; b=eeG2eNQLxNEqNLZ9kzwhvcUB8uh6woRMrdA1vvSg66bLEq56XrjhJCJLt2psKs2giG0k5po++JaKpPlRq9GkPOMdZxZyg2Kysb294O01QwZN/mET8cfy6LbnHlZ7UHaLcEsUOVC0w7xBuAsB697PNPHiixcnU/GrcFZ2SqCDX4DXOe2iEP8X1Zx2edrOejjANznqHdPrFH50ZdTZKcNbdU4St5Q7qQMwweG9LgP/v+SK+kdZOGihbFhC3FkCldsVhNdrfbhHPVml4DE649T6zJ/T0gY57WDPf8hcp4FmJxTzHKB2Z/kVugATWCyUq5vyQ+h4S7R4JA8P9Drb3oV1TA== 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:14 +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:14 +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 3/8] dt-bindings: nvmem: sfp: Add TA_PROG_SFP supply Date: Thu, 21 Apr 2022 13:56:52 -0400 Message-Id: <20220421175657.1259024-4-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: 46f15e9b-d6aa-430f-6299-08da23c05db2 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: faSlNl+dMV3d4EIa4FtmlbM0iJrEASI89fM54r50wxhUTVsmf8bhG0JGj3bqN9miGGCQGYqv0swQZ9obntps0NgWLGux9Pq/FQlBx1/Y5DF7ybn+r3Ba3Ee36Gz5RYRaKwlBroH+vDjheOBrxs9FaOL1rDB8MxYfUGZB9OmQZVolsk9adTlNdMNrHmkUW+2EWNqYdXIKfMEWFyBw8iNbMu9SHZCZf+qpUbJ1mT4xppnFsto37Fj2U3SeNry15dLwGEnkgbr6wYBtGxdP2l1Iq/38ZW29vIvIYqdH2ZiyZf5FKK8DFA9Hgyi30tsB3XwDVJVJIyG7Yizg1RLSSkHk79Pt0XWpydShiDzl+450S8xm4cs1RgJ55mFs7VN5yRBjxriv/625zMbPrdHDIprh/FgvZY0EPZyEI2oT9C/+NgvRteuOcICqV/2vVGhoUSR3qjdt0uc0khbgC5qiYpmdqqCvGFGG+0qHluoY4CDajNWZm6gr8WcptjnC5jRSxiixmxd6KcxwXPy1pJ3nvLX5mInknHc4kSOMN0yPAbOOSWyNfzOoEjUMjCYY5gQ2zMJq3Yb+0c1HnZKFN2QmEW8hoaJHwQoCNXUiiYTkzSIp7rNFHr1LRl/9Ric0HBkvdlF5DWEQtcNEYXWbO/emsyzX5q2QofsC6z9sB8wrzNQYgGm5m8EVvh1KdShI6Dhymt5UXJQtTwTo7FFWdj5l1PSpgg== 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: sRilml/cJkaJevMc8mdoEOmpC7dhaoPU/5r6v+EJS0EgL3nArNgEHhLThZlaUG0DF4TRfzZXQNlFdh7F3QXGyMwQvcdvFXFLsDi7Ntfv3uP/ZiKAYDYOBiapUJ+9gdaygKrptwlH/s6+SQ65zFy9ciXXqP6RTWsHEmNoycW0B156tG2SBIFk6dy5D6oaMZZIZBZYneWG8zILKKFha9PplABM0SubLSt8tjZiaVj19v4a6ZH3ky4IWdguDNzK63M7IpXBsoku0hAMNXGB8XDzKWmBRJR3Pn08xLmBJTCF9cnKUYEjkDVAl1fk03+ZGwGGEieHDMtx4WJcP8caamU3Mbs0tl6TDYXqFjEihoDF8cynSmdoP1OU57WZr2upPn+8x0/Hh8bvz/Ric7Iuc20HYEB8vOYVEYawbg8L1sm1wVALmmT2wtU0Bw6qmjCixsyx+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FIWtlp9y5NfbEVwIrt87p4P2cN7pfNK7MjDAeNAPAeBtplhCZFnv89mETdJlzDtCGgo2Op2COvpR4uuzYsw/+q4GhMt0/F//XoAj7+47+b3kUE4mVgNJ2gGBvTK99KhV/Wr36968o+GG05/3t0HRRFPz3LbSvL91c/xEdipCHTXsNm7aZIYudIz1RSAC4slDSYVa8E0E7cfEwKq8I5+Z0momyeJrr5kYteej0pSZ0WJcc+M7g= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46f15e9b-d6aa-430f-6299-08da23c05db2 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:14.0886 (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: HuzVyDNq5PUSgSJ1jGK8VLksDjDKGfCWdtBuLipL1I12rBedSdsFTPyKeLmpe2NcJ5C9oBAUNpYzE59ZzszEnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB8101 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_105723_630770_35F28216 X-CRM114-Status: GOOD ( 10.26 ) 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 The TA_PROG_SFP supply must be enabled to program the fuses, and disabled to read the fuses (such as at power-on-reset). On many boards, this supply is controlled by a jumper. The user must manually insert or remove it at the appropriate time in the programming process. However, on other boards this supply is controlled by and FPGA or a GPIO. In these cases, the driver can automatically enabled and disable it as necessary. Signed-off-by: Sean Anderson --- .../devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml index 54086f50157d..e7d1232fcd41 100644 --- a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml +++ b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml @@ -32,6 +32,11 @@ properties: clock-names: const: sfp + ta-prog-sfp-supply: + description: + The TA_PROG_SFP supply. It will be enabled for programming and disabled + for reading. + required: - compatible - reg