From patchwork Fri Apr 22 14:51:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823600 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 058A6C433F5 for ; Fri, 22 Apr 2022 14:54:21 +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=W5LsG6QliHRXXLgY8h3ZXyAigzsv6DiDRXkC/k52feM=; b=ceKYvJqB/5izGP D/WoNQIv+ZGUb+qDe32dg/9xRHv7xB1k5Ojz5YBf4zqweLwXqBISCnxl88c/FC5YHjw2TR0eeXunN J6mySNHWdl+qH4djBKhGXB2qp0HNoxHfN5Aks3L+LQ9OvG3ycyRxe/5RSANxJy69Tdp2ptEDcVWLE IbsiaKvdf/2aKStljIOmsFwbGzODS9fBV+0SkWu0Jy6weO9o4Zxet98tXmpf6xVCFEnKAEgElptQj 16hvuhtwoatvcDBm9rLzdKiExB5ZBawLt2Y8s+U98S7XSpLbeEAoi4+u02EIsbBI9BAeT1ZkqUrcB XxivA9yKQ8LbrHcyIW+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhueg-000uls-9D; Fri, 22 Apr 2022 14:53:06 +0000 Received: from mail-ve1eur01on0614.outbound.protection.outlook.com ([2a01:111:f400:fe1f::614] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhudq-000uQa-HE for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AU8qwXMJL1hJVnBwj1dP5mrZ+wgo6BEKFfUjX1gckx7DI20Gfjic6/URrOEnudqxu8G5IUtw/IJuXhma06I0yWhF4NeG5/wwZPWAh0asrIf4wFtRfIYEotY6jDiIGyYS3TK8w8chAQNd3xci1pI9aS41slEhcm47cpfVTTj3mwqxwqKTBKlQnoVXTuf0+8NYiGFkUAlpQ7pWY6DZPxIuGojUatNTSCTF1qGIi29He/aqQW0Q7WSyE6kO5xafkuEZkmkAfqR6jj73bB/5jDv99lOz/zMJknTYX8iM+9rjXkWMnM7EQpWL3+69CzZ0S4FHqV7wGvzd3XFKDsIxtdJdoQ== 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=sYCbLcah//OkAMJ1+1xbviNQnll6w0JOGqWuS+eEyuU=; b=hzw6NvnYL0h3tOzCyN+RpaXD2pUKXSieDZGpv1P8uk9ICG/wBW/+p34tdxbXZKQ0yprFF38Lpb5efVspyhOwwU8/PGh2TRMPHqksyP6qgZtiCT99QvxblbttLYDY2/bNnQvkQ/Bu/0kcbee6RMjqfO4VZAy0rR/JptS3P6EEAevbQw/K6Z8K4n0qLEXErhATUh65WyurLVfNvohwUQT4ZmcF+P1jzjGDf+yYXRZsxdpNeoZr/K/Wkhvv4f/ExgT8HFOXpRTO7mJ+LVFy8fj1ltdl2zln5/lyjZv+rads6O33tFukhu4UuFcOBiLQVaSDft8IzS1xOItQAEdJZUEagw== 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=sYCbLcah//OkAMJ1+1xbviNQnll6w0JOGqWuS+eEyuU=; b=0U1K01TUun9FS73yMa9mR/mZAnbkq5jqUxURyH880P7hbn0QK9VH9PNpWu8zSlGJGj2v3ceS2OWPWqHqjl+l22UoJJwgcc/15f1PdLolCiFGRhaa2c0OufTKXh5MqwYsmE60knBcBgSphwZzsKB8FjmDdf7S+PPjznJhDRVr8ad8W7V04s7RmLxOkalVbmpqqqKcm/vQQyqScsiLfaQ2SXuG/bgundNAw7SpNUCScUdjSUdJg9k/UB1n6EzWe9nzf2NoiBNVIYpAKLZlHoPYc1p+ycxLdgVQZNW1uzVoOIg+fUAiMFgEbvVcXWAZqNsqvjVAQjOpbxSSh4EH0vWw6Q== 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:00 +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:00 +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 1/9] dt-bindings: nvmem: sfp: Fix typo Date: Fri, 22 Apr 2022 10:51:39 -0400 Message-Id: <20220422145147.2210587-2-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: 2e28cf30-56fd-4113-21d2-08da246fa7b8 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: jG4iR+5DfOBklsVOQwWN5l80Zer/IClfM50ZV8gENOCBJ7k6wkM78FqFWegNt2LW2ukylljkSK+mt3+UPLeERKhoFfppDc2F7cfjMYXb+1vUABFSaPdZHJn5vZ+KvtL//A236pS6UfgLXt/prqR9jUC0Q3JD3/aGBBRIVFfyosytg7rlIIMkxAxTYceBnSODdb5yKioOB/HmEy5okY66PMLBRrnEWA/dTabzEAZCK7USddlsYPsIz2VNO+DC1984mUxW6G7JQIL17v1Ic8+tLZmKydaWFtTbVhXWZfELmfy7lwV9RxWGAIVNbQIKMzuwtvCyXhJgo222FBy//Yr7L1OIbKB7mo3rcxZc3oSo0ypsUPiAAl5e/Nae4vsbBLg31x57RgzBc9TdxeLGaEnhOSP791l6BAwgCoWnhNvePlgr7r0xRpBfN1PAE2Zpf8GtPlnTFNpWFJUg1BFcreeCSwvY12vF2t/idiHQakOcUZZYicloIlCMN6baXMA1mEGY4K0a9CMY6EwNJrYMPpsB3wF20u0S9Gu85hx/WFOyAjL9QzeLYnWwUG3QhqnfwLkpNFuRj2g0UTgM9jrTjBZBK1H8BdIEwr9kJf2lkUCFccoJBF0UG8JucckXJVcksWcIsAcjuhEFVJttz5E8BuwKAk+PLg1BTY8Vusm4iDwrQXEjQHsaOnxPe5oXNYLjZRS/SfGpCWs+6DF7X1tJmFqhMQ== 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)(4744005)(6666004)(5660300002)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: C0X92PPFlUrt3pqpWx/ttVUmRN8FL/lJooQP9nbMBN2sAF/FBgqRHH6o1HnEf9iUBrFTAtJaMtp5D2KqU9s+iCWuBbnneE90pT9+VUaqGk3yKnUB+DMq90rpC++ww+aiHSjfKdonJrhHJUMtUIMKwYIlW0xVwkbEZh7StfMgvYai+ZzPMH82u7NPWYmScpwXPWizlprKYaXpTB9FD/lcRRmHAi4MhmCTzHhkHph7p6WzfM6O4bUhho3LitYy5jA9ds7fvbC8icIQyV2yPbQehv2iNQm2gLUOGab/FxmvjN9NUbWTyXQTM6AG9QkIbzgG+OU1SKbelv5PPeePksNRj3YWLmHpb3gfvMXZIKe9gppFmsYb9hl4W6gLxZHP3N9utl4qBYIx2ZsA/4TFWR+KRsB0ER68V5YcMcWDrnXHhdWDFIcMjFMHdk9TXd2veByeHOSSLzIH7VmxW9zQgnj4+CMDUeiOYVVa/aCaURZKaAzjZsvC+OoP4uNMx5D8ewUkXlsPZfNMOrP6SPf6kefz+5vdsA0hldYP23TNKJq8FQhcU+63DQJF999PyJqyqz4/o4YM58X7MfrtI2n4FEtG0/2ceF1GoJ2VnvG6n1zjzk3K4WWJwnOxyEjRv9b5IwNE+d9gRlKL8no2RVlEQ7KHOETeh0LCDiNqAGvOcnbv1m2HhgsLWOt01WeBrjFHS5kKmfw/Vmiw9Z61aP2aGNFggGMY+uHseWkHWCPyvJjMhugf5GhE0no8uyGiNUdHOTebc1ZsF2sLaShouvQiVWln/m4nPA1MVY6H8CMsBwu5zssnzckmElWk7ZJEqKY3sQNrKz2FRdTtJIJqdllau/sb7hditwmQlE5PyIvW0YOu3fzRfq5+EUq4VXIKB+J2DC7Zy2HNxY+gj5IvrHRyIWDVh6o5d/yI0H8MyuwxBx/3yNXzEsvlg2ia+oIf3N9Ph4zZWW0/Uj44DzutQnQSJHbxaxeA8nzfmctc96pIMUFD5qDVbrRa3ebisxCaT28Opyf2DRnbH9ko1jW6gzNEvpLA8YMOYF8SXougl+DWJxPBgWiFQ5TV+dHYIkVao8sDyVoGNSJx70PBWPtEVfjRV20e+lcTj6S5Br9J9VL6EpuWgFVtA1rC/A2OLbAM75cjbMdJSEa5Z6QvyYIGfDI3EyYbO8Z3LobiREhSOwI6LSbFpmV8yBSATA0QVy/MSe5XsTu84YG+nzahKaHSh0uBTOCUDR5T0UBoS4jLXSvDU1Tp8vINLLa6+b/JxAnT48QV4RehPywu0NZeHjhFYdp0/1U+u3cjveYIhgfdO1f6qXUfZgjPjAp5DY25bJ33ovzBf0T3Qb8gwxUGehwwxYr9SWcTuhuh8WI2p1V9Yj3DnJ/Byfvcb4gpDLqcfg+N53jAKQMhagO9BBteJuyBNTr50WaQhyy36BFI5GnpzxkGfITw8vdWR5uP+AmTQOReTmSMN1Eqw89DNd3UOU2zdSPBP82tcMpPr+ThgEwmNsah8OR6bQIjNZ/Wygguhzo9sZKQ7S7BZe99MPAeT8XS+mzSLgvJ2rPN1JILAFXTkG5nxH+lECzYmgEyHq/V9OEk78xHqLS1A735uGb6FrNNAX5D1ZHV95YZsQiGBWkQljNdPbnqhw7uHSq/sWdZyMYEtqOomt5D1qxcLaue3vRvMZPVeev70Xk3sADBaXAk5qSHgcQsxzwsWSpTlcnfRYNQKhnsCJJgDcpMc/hAPGrsMudHk9C9CusrVkBxCwmbtMuEdNUbiLE= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e28cf30-56fd-4113-21d2-08da246fa7b8 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:00.2522 (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: usGUA8yn0OJFixidSh6v9c/1xfhXWwP+lBmSbVKD5KS3YYzPU+N0nZbMgMjAP9Ig8zIePxaBEOpz6DDh4C2hXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0302MB2792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075214_623440_526789EF X-CRM114-Status: UNSURE ( 9.59 ) 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 There is a small grammatical error in the description. Fix it. Signed-off-by: Sean Anderson --- (no changes since v1) Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml index 80914b93638e..b7798e903191 100644 --- a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml +++ b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml @@ -10,7 +10,7 @@ maintainers: - Michael Walle description: | - SFP is the security fuse processor which among other things provide a + SFP is the security fuse processor which among other things provides a unique identifier per part. allOf: 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+zxLERb482yU41Cj/bAcjQ6MsFWNujn6KfTQnrmOMruU8SUtu8U0ZzK0rQxyjZVn/jkNSFkxgXCZw89bRU28ttqz+QPWcXCyhairE2fMg2V2JDMY2/4ByqdIhoXPLxhB4zBqmCr8r2lPBY0V/6pF53lQlTnyhP/nkYkwPQ63snhelRSET6q1JF5Is4H5nme0wOL0bP9tDsB6tXexXd88PpIOJtJHSRD5EJ49NNEUcQaQ1HsJPuaLxDv8hEynsStvfoDNsuNr55nWEOkHxGq7HRJaztfCXmGIIeIOERe3MUZHAKJgUp49VEB14Knuox34SIlxf3drjNG9eKtvc4EF2r+4QRipMKHwJz6+FaZBonNxAR47QGIosfcbvMFV7JzrCLqlH/2elCguZrWRGmoZGkm5joWzM5VLcdDdLlDzJo6TKzem9k2xShD4di7mZbaTdTn4oIfN8SnlVC4SsiX1teb9zKFaKGcLQNN4wfVEKuZNiQzu8jlS7tLwFotp8HLDUcOkDrSelyoTIPxGa435PogS1/YWdd5mQ++u1T/SXe89YOkIOSi7Pv0h6jA/upVXGry9OyGQFoLproeqL+G3WKqbjFnisl8zLdc5ecEh4EYjbzcl7RE2wgCYCxP93HJi/r4n8WnJoVF4U2sExRSS06glVF210ZtZ7h0mq6eg0Omfo/MAyXSGTBl+dNSMyfrBdc1+IaZCycTwIkeYIeMzKlINSom5uLN1alN17gpj+z0ntn9dvkIIZvpe6C9VTjQcdSQCmARvASl2CMXcFuGdgezed3OMhVpKkoBIksvDtgMqJOlcGUbEuOsrLyHH2xwX/xfUBMU4jg+zQOS3YGHf9P5I2r+ou4AzgWiEyYRHYE3mrMQ986n8j4B3h79R5/lgpqSj5gUot4RlsgsbN0Ibfm0oaeLXmRJSAeBNF+ucgIl2lBh/3wLQQffMKfGSooO/p/7QybMA37LSXCouKep2CPA1Hmu7s38DJuPUqTlfVO64d+NGpnid28l1onR4sCvz6H3e1yznCTZhPmnfvGBP3Uwgh0O2IRoAjQCEUZgKHJweQ26/90jJN3mRIL8ucXuLlf5yhE+l7+XfKBQIChQsW2sO2c6M6pwXPDsAWXvzqlKmWYfpCsiSt2VWehYFPsmQICKy789U4KOOsby0KIy5lqKjbAJEjS3wyeogRhITJczyEB8B38O33qfX/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"; }; From patchwork Fri Apr 22 14:51:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823602 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 E60A0C433FE for ; Fri, 22 Apr 2022 14:55:20 +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=RkdPPFKBzZ1h6BkCF+YKqdzjpVgtgNLgoCs+j7ooJXw=; b=bjNbSf5cJdIiaT Smz6QJ5M+9zma+ijOAIEKr7PIBfVb3RnCZ0OO+jzXQ6wf+/54ewfFV5Wm5sxpRDiMRdsOkBrzU5tz 0Pb7b6+B1KDSQrSAVAE8jOmnZVAc/M/JI2zykaDYKVS+MwFYwIouP0zxzdUEcuDyHrO+5UKAnmGOH W5OVc/2ZqAEKSSA3wrNwmfK2gAzBgs3b6jwJnO2JFHkZwX7Fol/PIjoHgeed0hDLzIRsihGveKp49 0XpdVmou1u4hdn6S44zihlhMNSvd30qxekOycoE7cHt9srxTUxj7oMB6W66Y3J73Jz6kdEWNTSNmA 5iZmmhteKk/qFla4w5Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhufb-000v54-38; Fri, 22 Apr 2022 14:54:03 +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 1nhuds-000uO3-Ak for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lS6taKk8cUEZcHfS3RNfvfNlRHsRAw9GNe3OOnNw1NR3biw+g9NGq9+RuBU8WnqYVZ11GdjXtMXCwm9fyGR3e9MMd0bIODyOyGKIRrpqbO42+tDsP5kGRU7UcqNzqFPoxIXBx2R6mzNz5es8qGsFBc7o5O22hu0Ya7lrKR47/6c9DM1bJ+LTfosUtXEJV83QFt/n5eS78YwfpisQWXQye/onklcsUxlZYGNTzy77KpgbXthg44CWlGkUQfXLhAGUOI9u3objMDMHcpaHrbNQtSViDvGyItDzc8Yf6RRH6kvHphcQe/aXNZA4gR2uhBC2Z/cvOop/x3n3SAr27tUbEA== 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=u503bf89sGlMViLE0zYQy0JMXrL0QiWADKiwK/gaksA=; b=d+BjoRZOkaCP72P0ZOVesOnJ4tHjkNGJsag/mF2kESPNoNUmD9iLjuBVxOjSHcK4rgiH6JCz7H/szfyvg1C39tH7z/Il+y3YptSOz5+Vic56q3WeMqBjudeb2FxD117/C1jofmiQvV3YS+b5Mw8Kky3uOFyUMr5QBMbNDBEUe2xx6QHZNfcdDoO016eD+HxLrrVwXNUFpeU9aN7cnI4K4pVMRHiHYRmDwCqXsY2qWZovwrc05AsD2L0bOHY7+iXXP+PI4RbfNoQFiZEHJLgL9RCy0wBkigjHqA5wJugXQnFyh10FJGbvLn+hAA8M4f/8nnr76XsCF/tQ4fRCG2TVHg== 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=u503bf89sGlMViLE0zYQy0JMXrL0QiWADKiwK/gaksA=; b=M8YRxK6fvkysyzfJjPhQ/OupfYWMth+VEBq3K4H42h/l7oAwftoNOXCRg+WIHlSZorhFP1/TJkv+RdnSbXK5qayC7xhUxMHG/QGocVRhPY8sc885W7oUaeZ6f+0PjfPuyS8W5o3KLWmMEoaHBxDq/WYRZd1T233dY5UonL+NyOlJ7wIRzSn9nW5aJKRa3e2Al1Lz9uS40ywPLBgCCk83wO+UJ8ohypv58jeOisYiFiATptviPD7DutrIUFGGzEvNUmFQdnd3EVUrULCNRK0WTLdTRheVTLSQwhzV6Oh5AICURyvD1ykN5Jex+IIags2JGDeOGtY/bhQWZ5SMWSOw4w== 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:03 +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:03 +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 3/9] dt-bindings: nvmem: sfp: Add TA_PROG_SFP supply Date: Fri, 22 Apr 2022 10:51:41 -0400 Message-Id: <20220422145147.2210587-4-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: 693990ce-80f9-435a-c6f3-08da246fa9ac 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: S5f5GGwPHoPDvf6YKGtEnENrlTUi8sAFAuyARA1aOF3VHpivy+SUchxXqogxZZ0ZgwHceioKB0w5ejkIY26Dxqh4Nf7HS02fdjgJYB8B3xMBzDbFZKz0zE9wRqz0/MONP1n3CKbxGMqiNNRFLm8f3Py9ce8jb3AtwR8o1e5acSTlkFeaFvSRwVNarIBKFaI6u5UH8p+Y6zIesqiNWxMpdLh1ZRC4FUVsKf73GZODoZRGaJk3TEeCgR7uszxQME7/B+JHOSIaXJUb/dAqInuWW9p52Jj2GLS+Tw1rihSchv018vacgfRUsN9vMpypJNjCzAdHLm69NgRKMknUczMauKLyzEVZTh0Tk963RnTge49aSDdeOLUyj95/I9v3VfiXKsBaeeIFTwrc3RyFMbCMl4G0jn57ZTsgea+5IDBXcRLZfJHZuu3ar7QNtA/fPOF+USanWzpnhuOB/iV7rKVY2MumZd+PhG/dqfdZx5yc1wUbPoP/4anh4e53mwvSz4s3wVephyr217zg0wuQKIo46VXchuUOxCMrCEzPr9C6wmlor1Lao320Pv9XdvUodE3Okd1AFCCnoKNMS/UaobqgwG1gRferSelD96uzqM81mfGWwjgut0r/jogxuCq6ToEua2IdfrMRmu/LVNTTyYSqiCVgTNuXe/iCg8RWRPIbqO6o4XqOic2S6C/PAXUCLMyiOggem6G0wtpflWtQwLp3Lg== 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: eQdQNUH6IdSit0/aehQUyMviMptgSZ3bTsJlb8nm4m5kccefP/gFazHjcH5h2nu4MFsG4YlKuVru+zzytN6sOYjxgMja/4ri0quw3/rSvoCDekWsykliRItqAUmt9hXjLPakSTVMayDu9PrC/yaZCNPYbQEoVuTiOVL3pdseh45axcfKChqffoKDTkIXo3qeMxq33xk4fTvWiKgQGtB5Bnm4MqqotZztG6wpVV2fKncJri/7LyyxXEuQ22UyeDPx+/gQjNiG9N+GlPe0sSSKuCtFekMn728M7JzXuGm1626AM3+YoGQiJaX5SuMKyggX7Nt+KC8HJU8lEG7WBsOvgrYaQeEtAEbwJ/zgZTn89L3ofcyjCHcUQXmeq/33jSYQUdJLAhyAqrLWHeoS5mZ9vM8VBzWFDXR9Ql+b6eLx7l5uBgyMyRfOME6LvsK9xBFFZG9uOOUB8cYyW9ykMbJdhr+NPBoZlQlsLCVofxtiJhUhUrZ5eCIdAipTeAhumPA2oRDxMvQ85dJhNDGwITCi/aakAhUAu649mwr8HrlCcG3ut/vH/+0cwGPXoWvIUU6P4S4AO7rcYp1gH9xhPlZdC82HPuMUr7mRIGhJ+B1ciS+vCPQkyBPGFBHKYUVOPyE6f4cB6udj1miGBpFkBW/BhKvNwROME/tBBqA7VcXZjLT6/LozAIU4Uqhq2rGFmpanyGUtWWzljUtb74oBP851WCHEYYoaAjp3ftXy+VAokItWB/Sel/S97oAFtCkcHENXT0Qj+MiGsPacC2RwJ5f4bUJTGDI2PJAp2mrQtBiWObcy0azXVO/lSsCBX2ZjigVMmlbD7gdgU7rND9KAgDdG+7uUNxT12v55XU77d4aBC5cw2BqMb7afvJmvxsblHQJTGfrHf7TyBSgOlOl0En1N6Jd77anz7ezFHYeY4qrLen49j6ogdNZ87AwqmNRFlWii7RA6YAlQ/ZBFv52hO6qvodW5LHyq4iS3EyISY2x9v02AFnvBJU8yZm/PfLHv1m9Z72nMlroi1zO/hL5mFATgYmzXcdALAErj6IyHipcuWqCvGByUt6kRFV4qShqnQwqs+4hNpxraHX2fR+8se2qscd1Vx0HgQlvG0wEu0tFRNxegD/QcH+vZYHOHnBCqNEzWv3PNPvmSgfT8sRz8g2RI4rJOibVXNIYbxvQT+ByrVk6j6hVyk3sKq0tIg4Alw9N3plNJJJ+XZgazILm7O2U24SMAvDw7ynreLcduoTvA1Vy+JKpclfPsNh/JKa/ejoWDlAq5ljhpcByE72ny1KFQcv39dARxrw+bqkvglqt3UCxbOUCpfVsQpMDkxDLKgzfechwQQIoxQugbUczzDNTWrwX7N81gtClp/gNb23lkuMhPit0sIEMW1ZuBUY2uf3tijmDDxBx/Ce+YUAjsGE02XAyNxCyBTE5QvLHFhPfbfmziBs05CYuv3+C7A4JjHncVSs1dVD5ioVIlbmkNZHS2QExC5UljrMIibamtc7JBuvHPR4tpakE/A6EcmWHKI7G6he+umH5nv48iVdvZHHtWsSwQbzorGDWe5UaoW8G162UKW9LW6lpE/VH9ZYjJMhyWu76kyzsSuHN3owl29I9g07Na2+yU4BpVTQOETCQe38ENSmeTGtlAD5uL4Aukk+fkfJU9cMWT8eWeauBMMXJt6qLIbzKO7KPcpVni4kMqydhJcoz7G/n7nsABnL5pp2bi++NNIcnmIjstZwCG0xo2ajUj6rVik6rmIWYfs0rFOtc= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 693990ce-80f9-435a-c6f3-08da246fa9ac 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:03.5644 (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: xMFHQggJ+bxqrO9aakVBDXZOOYpHjwr7OjOxggf67ZDbFmf8OLrsBwCJRlA8Qs1j75QffM7THrf7N0c23OxjsA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0302MB2792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075216_471222_8025700A X-CRM114-Status: GOOD ( 10.10 ) 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 an FPGA or a GPIO. In these cases, the driver can automatically enable and disable it as necessary. Signed-off-by: Sean Anderson Reviewed-by: Andrew Lunn --- Changes in v2: - Mention "regulator" in the description for ta-prog-sfp-supply .../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..c5d7375b840a 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 regulator for the TA_PROG_SFP pin. It will be enabled for programming + and disabled for reading. + required: - compatible - reg From patchwork Fri Apr 22 14:51:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823603 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 9F4EDC433F5 for ; Fri, 22 Apr 2022 14:55:52 +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=XncPiMPA2VWKijWFu47QONF6ZIhKpGYYfanPHQ52y+Q=; b=I9pRqQD+3yUVjQ jC9fj6S8ZYO3bPYPL4F2ePnbvuKvXkfKlaP+jPuSoEu3nbCkgkTcWDyU2jv3mPZ2qP8kc+hvAILGn hakZjhpLbUY86ePWucbbeg0qwO1kfwnZ+SEQpIu6H5cY2J7ERQrIChkQ9eN16wnCs4Q+ZHbknUHAY qWpg7Ue/6HOUCObSqhELwPE/p5yZvTe2fO9g534dnpcEtctASCH7dbyqDQNMfYbjY0YBBY2uJnrYF XamQUxeuyTLzN0p+OTEpVOBRI4gZs9P0y8oPuZPJA5wEamKpT8YMPy9IvPo/Xi3l5C9TBXfo2puKG qm23bpkNPuZjlXJaBSfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhug5-000vHE-5i; Fri, 22 Apr 2022 14:54:33 +0000 Received: from mail-ve1eur01on0614.outbound.protection.outlook.com ([2a01:111:f400:fe1f::614] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhudu-000uQa-0H for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hk6JXiBjiik3rLF7F6WlCR2n2+QsMaiTEHwJHGDd8J8NJf+paw8l8L5Qe5FSETzVS17M9OdoSbfLT4uH4V+GCe2XuhD4XhKMUy2Ql24AeoYMLZ/FmU6wSBysi3H8YaTYwSiAV48lsUCWsZ8EJR5UTtl/+W3ye4OKgTqpeO5ivQA3TkWN3vUhyscGeDrK/OWlhFrL95rbCAAuv5/XZNdSqeiyBR0iMA9W6lbQr4P9LjLBDH/DJBNS6b45COCKmnCxFY4mvjFN/xZyRDP7at1tuBFLdLb6WYzvB2KnlETV7/j2WTc3LKAPgpFrGd0T82GsrxBYBMernhKiA8JhIG62mw== 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=yK1kfQIMX5OnOhthEIkqw3AB4wIJzlyKh97MrKqUG0Y=; b=NAfcnZmaw1sGriQGvtWIzCkAYKC1YlELhmQGoJYjkqvVKI742nFLQgvMIVqWZSfPGknGG0aUIoBtkn1SyTVKBCfH/3kbh0CRp4ouwr6HEqI4PG0qsK2lf5pS7kkfZD0QgOenEAj/oWtW0ff5rkGbrG+Pc99bWYMprQ+K0p5U2oEomwwPTDINlr541azJny08iqS0UI0qOUUho6dnr05yO2krLtFYzE4XAcQKxAvrZ+368YLwhfl/qvfK4zDJa5BMjfGnxlSlOJtQy1+7a13/L+O7dYupPFsezu0/OBR6YgSvoH26AhuusR3eLhHCeMi7/2EEL84GrEZWwaFiL47zXg== 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=yK1kfQIMX5OnOhthEIkqw3AB4wIJzlyKh97MrKqUG0Y=; b=RxYGbQ7Dfva69OBl4YboG5Q+ie395d5r5a3pCKXWH/Cm97iQcku+PBQESZb38GG5IO6AownE/35p9RGgLAuyNLQWFatsu37N6/AY+eDUEBla99z9dwt0HlrU9d/83m7Tj0S+eiz+NHTEJl+XlW23+DEUDqMmwGMdBMQKKMsXCiZPGU9oOc3Ft0Div4UVSRChGcdBY/lnjXg0woNMB3Qfffco0Lu2czEnoI1jYZb8SA8mDBWZOlUnOh04tAauNpyu+OlJYjabgD87mo4oBYj83tc0NrkkE3yg+UeOflBf7BSxTNZGYSWS3jq4k8XSuLI0q4lmaGnEWNR3HXKBTOL2Hg== 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:05 +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:05 +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 4/9] dt-bindings: nvmem: sfp: Add compatible binding for TA 2.1 SFPs Date: Fri, 22 Apr 2022 10:51:42 -0400 Message-Id: <20220422145147.2210587-5-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: d3ca06f5-93e2-45e2-b72f-08da246faaa4 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: MX39e/PTMy9IUxlDtma5k9XYnmxRxYhmIRQ8PgC0P10LnLS6Q84sPBcQmQwzGk1Tl7JdPTEBTRCmEeR9Rb3fx5UI07FzrhEfRTdrrRXyWV4Vs9rGultdGUvIyf8V7jE/yRTHfSyFuAuk4vICRwB5GidqYIru+9kBg5oB9MdlBxZ+b9WaI7AZciDFfQ17yuvELTkPKz228NyyqDQKIlr67ZzAFpFn3odoDwtZtFfvobjCG0yOZzjhxkFMwPy4+Ck4QBASfboB5e3/FyB3yOWeLIc1ykA6GnSl/A+IpD8bw+vC3PbRJ3EguinOpENP5g60fGywEEWr3HAY8Dj4vSt2KxSlv9QFA7IX9Ke8IMgtABI+9mj5YCS/WkMudUok+zcHYrfqum6+8eiMiDWSw6Xa1YjQ4tdu+yItNdP3XpoYrULEH2dNND5IJKu06H2rkxc91VF+gyKQNeMCj2TmZOZOXtNDLhS4Tbe93qFEs4tFrm4/gVvyf6levvD41gmQ6wbo5sEyieMwUvdpekV+wnbgV5G80xOFt+i6wTLTcBitQ2Y/58k9ZkGeQqlamg1IE9yXYsjy3LTpec1XTVK+13PFKvC4o2WHy9293pdxChDmsDuGyNFbIdZO6SxQe+jxY8Ixhf8aCSYlNuaD9VjHaOyWOD0zMUVq7LMduoWXbKU/39Way89Pa0i82LnA1DSAjpk4NxZgP9OUHBWqdcQ6CR+KQQ== 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: YDjV9ZNXAclB/kuwM4g7yqOxxmHWMgEQj4aJ3/Ah0jODp45U6tJToIGjJIm26G3/onb5k4oDpIW/wspTZXYJ0JzC94UmnnZW5l5qdWRbDGGIDNqx5qG4epSHOigw3H+/dhNlDZ2hBO9hF+Wsq6Veq0sY9Q8HFbnD8+Ufcg5tS6Jw+El3WHL8pv9oHrYYCw4cQUUJHQAdHaXgs3PjlJ0xhYEKOw3j9tJKt585dm0ceJlb0U5K/bHdezrU6Z/7NmGvWuTWCjkn6f7LKJ0ldGOTOu9P8W1M6u5POFe29nPlLPc3EU73+VnsR2xzfpLWUEcT4TBgBzV4Uch5ua/7n8AGXyazAYu5qtGnjSaS6GZcDF7mqxPVLBUJcwaLYngdWScopFDlLmwD8nPoFZXeCyPhD7vu5+dlga6XAkA0aFtwfgHA48RC85fQ9oF63wG7pfKpDSJ3k85BrgpdLcMHWFaivoUMWGQI8LOYUqMm4kGSZaF2ReWuWFE/tudI+SPFWTUcnBvDrSz0zRYZURdwbFx8Xr2fdwudIsZP48YTgPVeaSFr7thmmI29ipUudcmpapf5puqwLl06F3wNPSSd7/IlwtadSnTH5JxTWlybK5U4/mQi3FewM9hv7ocXN8fFu2VtIdmBUxySiz7vvmUr7x5JDm7MglfrUicmlJGb7PsRpKb18ks/8iMMJtaAGiS9jPF61KEI+ACGBa5r5k/oVl9EkA5HA+jmSNrwPIXf5S/kXBOlyMiGdsPzWCUusw7eZFoSFedPM8uxgyBggMQF1QT7fnUuGizZlyYlHeWb4m+rEqGcj5AYqPefAR7k6dZ+rwlsF4c45bSu5ggRgnJAg2vM6n8GqWI8KygsEQmuET1woVUb3GD4Ae0g8ATCOACQPcLSqGNDbvFBUHTSIvDCHHLYIe9k4tzEjkFN5WoXPXb4vKZiDejYOmx85wV/F8yt+FD1HAihSIfZ73uvQsNrO1VvtiSHFBS0CM6xWeh/MBNZdl7yuqWJNFyOnydATZv8sPdBAnkkATMN0dnF0ljtxSqZ93qKe7oHlSxm64XXyBlv5w9los6QLRUIehPvslggA9pTtcjOe1PwFUxcsw8BlRoJD3HKcN8Bd+naKtVBU5ys9Y16bRdDwNIbLE6tCXjTHVrGAQncTnbEmxtaRwV5hnOkChYmWxgUtqO17j73nQzzQWpImOZiF/O7b2nZE5QfWHuJiHUkf2/Zc3Ge5MpEH8+kk6cMjUTw+r1zvdMRLz2rpHMWLljUpaHHxBI2JzufpHCEyTjCSWaXZSWzSXdWen9oubAl7dUjXtbaJ0dh21iJdK11O+5ByVOnbaz2PZo0XzxcS07CZT3Tbmhi7y7E39GIp0N4NxXi7q5tLiVakYyseBIr94QUVd/a8q4DpBUWanlt69LW7Txkkjq6bGugVk5KgrnLPBhyEWcodwZ8PJKfVmkMIgtc49UrAJ9Ab5EE3b5qKURBekk7khz3QQ7p/six4PHQllhoILtx9Pr3ukVm8cHw6gCxojDgjzibXo3BJMnWAAhMyYWqt89MdXy0empGrwsk0c29dyY7BXfhVSPk/wBzxaOdlSaZdBz/tdk+N/uc+aEEPLUExAemFG9MApUR54i5nM0IsxAEu4YJRtkGV+9Vb4fNoDsQ+IesWpY5GnvW7iTvNvA89pvbjCYmd51Mfm5EUIkSlctoygwKIH7kWqNn8pQV6LLt1Td7nLQxMdFJ6Yr37AJu/0doA+r/BMwbJ6ts3tjvFQdmm9XFpQ7qst8= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3ca06f5-93e2-45e2-b72f-08da246faaa4 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:05.1425 (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: xCZbWYknVacdXV34iTHN9U7DU9UL+7zQCwpHgh+YTtdJpJW3TAETqeyhDkOi6KQMIu+Y/VIYwobLDsIGYYxv9Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0302MB2792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075218_102139_8E4B67F2 X-CRM114-Status: UNSURE ( 9.20 ) 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 Trust Architecture (TA) 2.1 devices include the LS1012A, LS1021A, LS1043A, and LS1046A. The SFP device on TA 2.1 devices is very similar to the SFP on TA 3.0 devices. The primary difference is a few fields in the control register. Add a compatible string. Signed-off-by: Sean Anderson --- (no changes since v1) .../devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml index c5d7375b840a..3b4e6e94cb81 100644 --- a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml +++ b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml @@ -18,8 +18,13 @@ allOf: properties: compatible: - enum: - - fsl,ls1028a-sfp + oneOf: + - description: Trust architecture 2.1 SFP + items: + - const: fsl,ls1021a-sfp + - description: Trust architecture 3.0 SFP + items: + - const: fsl,ls1028a-sfp reg: maxItems: 1 From patchwork Fri Apr 22 14:51:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823605 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 9E9F0C433EF for ; Fri, 22 Apr 2022 14:57:14 +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=+NtoIddTtQs4LsIDbS5LfF5LLvEPB7ax3J4jjHNaGEw=; b=ykGkUKXm0w97XV JwQKrYpJ//L5miBWktNdQR/EvMWjHYUg5oFeIr2IRbDiFUBAx5tVooKOMZxWJkrV73xuJTrW8gyNd zQzIpBA7hiLNJ/v1cnnyzpfeDQ/OPiuTHxT3oC/a4OhadNAYW/JE+AhuHo7e32Bllt+gjcw9EJzZP t6tXLyI5WJ0n3jzp10PoRp7dRK9g3nsgrBJSfdS6kdFxNp++QIHtB8hC38quYIxQs5K0vojwqe5wi oZM5M4wcKAEYZUr85YAAhxTc7UBUSkIwQglpq/iuv8G31hMyOyiwj0t4fzdZlsuczVbWrKIigz9dU frz9+R34IX6TYexpPxkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhuhS-000vjz-3c; Fri, 22 Apr 2022 14:55:58 +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 1nhudv-000uO3-NG for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MvYgXMPP0of7Ko49lzHVGtVxQXzKW++wtpAs6u2OUz4fCEqKlYipOUXjWylfMuaBj6U7MR3o8ANLdKgIB5f/UJexRyzA4oYiYatV+eORaGc9TuRb1ik2syzkulygnyDmLenjbUl7d2FlZM+R4GU5PUgNhukyBch1jJr18xfACKgzKiGMjLDujpUuuWc/91dvrxIPEHbMWjcEUyrpHGIRUlE3wbELrMOseDn5CbXYoUhulddITBMubet62rWDxjMYf7Sgyc84bANo3gAN7uNlcckei12+OEZ+xCeAUestYfP4Y729EZ/mbO4uaQ2u5x/jIJF7KWRidlY76L58aT+FJQ== 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=FuEdqAkA/RqBkFNHf5vufPhgbnTFhycZdX+nFQyU9P4=; b=HcTWm3YIqUpHxDTg3EuPax+cigBQEYr43XlePxbaM1eNYK7n5JxHhamCxoJGBIt63A8dbnNhfJ6jyCJMoW2oMhSAxU/X57vZnC//r45PsoWobzZD6eSgiJbp/e81qYV9MdL2XUqF3Wx8TKvgLXW5dJKOl1P1g0gqoxOUafeHTYbeXcYD0DNnO3YjbHzbqExKRWDmZq/RtpEx5hHCJ/Iz/eUR5OJI5QpZ8XeyuTgKV9qjKGevBsTeumkhVeag1QcgRM+tVs9A+yVyfJKHa9dnXNkQheL/q+7iUghictgjrTiy8qYnTJKdR4jejx/o1c3ySik8/BPXX/1tUKUN6nJyJg== 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=FuEdqAkA/RqBkFNHf5vufPhgbnTFhycZdX+nFQyU9P4=; b=GBKNsyw17oNzQGJSiJd6TWr4GVfovoftUbYqqO1RM16gXlIfv9M03w747CEqBinelORdvt8fVToWp0BUqDmEBBlsGXJSgCh6lACRYJwxNbhodEdbv/YFDpvPJ2IRXomkHb8Cpz1Ve6V2uTeUunUe83i/EzWTwJVZPt01MhShcR+ciq6a4Y97j2pTwbvIcylRRoU6DtshtxfgFTk4VbrWxyCFQOugs/1tIMoSq8CPQlADCJvOYgTS6ht9gkECMvLfCpvsbHywcbd26SP4DCT4vNAciB05iO/dhmKlXgw4S4LfRAu39hgujVgMNENvxBWdpP2YR2feWaBX5xElUml2RQ== 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:06 +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:06 +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 5/9] arm64: dts: ls1028a: Update SFP binding to include clock Date: Fri, 22 Apr 2022 10:51:43 -0400 Message-Id: <20220422145147.2210587-6-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: 5f57c6c3-7209-4b17-4533-08da246fab9a 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: MbE8AugA1AyJEOe7i8T7Ur8mYtaNt5FmGSvL1YfpyGYRkCnniXoHWBMoFqPRQVmdvVxsGS10KIkxsgrzq36Ob8UPQEYwgAoP3FcE9lh53y4bUbpp03mJc6RANMBiIZvo/pCL6Op1PE48MFL3BYvIOXcHNDKVkTMWGNB4oqz1MAYnKAvwAvSDjD9h+KETauBu7M2LfkvIJDMlFidx66cYw+3gzYB5t5Q+zBU/JKgUicn5jOmOdxuGcycwSXtu0yQvyyM3oTRTpVT3D73VTYAPOY4ohhbJfcqQKe786J7O5vhaupE+hAfMOqgdCWuqUhT10OGqzl1ZeMQFbSjxZ04fgp1bnC75uYZxRDIH88m80l8twIY/9p5kHa/NulvCnBxVM4q+osQote2Wlk+dJbtKvnlOyDAUYWGHH3PmYSmIqJ5hQb7pCoSX/aAMZGqO3UF6UXx6lVhUfsDTkKURr0XNNpn13Ik+vJROmB8dH1SJWEebRXFIJK4yZQ0N5ztYvmOOdRpBFNDzkso8QoQJrS01M/3bUcNwnaL0ugRLUe0Unokax9WXJH0cLAnsSHAEo+/pRcKr4NAATlQoaF/XymbdwmIQRU0IYEC7ZpqYYb1j4v3hmf3n4USjK5iD+JnRjlcrNCSGd1e6b+jqO48BGvUMK1Kp/mgseWklwclFpmAwz9XLFTdtCm3onOGO0yGE5FQSj6rmbVjvOW80kWtcV6VQNg== 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)(4744005)(6666004)(5660300002)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: czwSGCU7aqQWM+q+ztMqTCB3L3+24Z1qt5r854lUijzABJf1/RYWb3TUkh95aUR85+hBZDdkK2fLS5BBn1m86gCw55iZZxtboS+s4JP10zjJfyU0I7eKoWFMTLOtWkt5XHpq02Us10x57vOtq3SM+V0XPNcNXbVfMEWMB8nVAq6uQhTLHiW+ViRXBydpgaYL/TgE4Vi78f5wg9ECr/wMWNClFnQy0pzYmGErC5h32D7h6dl5f/nub7Idmo0ImYt7fBa89YVKmICr9vPL+0Cli4jFJuyqnmWcYZA8yW6Am6c+5/OB0ANTQM4mHiNqfSsVA7uqHnEoOn/k0hGlVI3RW5k7VQTcPtSS74mdbgI/0fTJ2wmzPP2fTJemmtKImJyVzeUuWIbdxiYsnY09L5utWpqp/79+VqkN8QGye6UKJm7z8MUzANZqXcfcf7Q9zOJ+2YsIpvh1RNfDYRz3F6/APKaMJ8+gl+omM5Nxhec9UDOQYOKEZ+F14ysUrB3171ENJiRFMpKPl2CnnJLZ2hEhmbDs5dImkkUlGj6MAtvbx3YOczlP8RvLAELtpUSCVL16BjeTiNJAbK/cWLCCX5GG848bZLnMsoKLM2znfm2OuT9+ui8ZyiIvC2NgU8KdP7vNK8jI1ygjO2MoDewMINvL92cWbuZAc6TlAsIo7GGKhnXOm6EWNIci4k1X1acGRMGwbdrhbIiHoZ3BX5HJHtOtKbCE1sGoSDZvXQNBoKHT6MR6oTO2MkXU+xDaPSxlfLe7zNZ2Cw2S+zpmMJ/MBiCRuJwtUFRjsAqJ0tqTQ1pEIf+a3J0M9joCJDlGGI0M8A3H+3o598ijqmBS1BTXCZfaaEVldad7ZXA/CzpriT0qUMTU4ht9KLQoWU6aKo1IfmGizdGShYP1tqtxEzLD4CBybdAwdRvQbkhoNKNiwFML9rDz8OhEwqSxy7AgHcRzTzpNfLdyTTYOZlK2DLOKrIYzjcS48LI0W7LHPRLE2xrKFH1FVe8dlW6PyLDdddQ/3soQ/lCPc3TFbPkI+D0Ish+s4j6AhmecOSfXkTCX36PhfUTNLWevBizHxplnays+zuusf/sCCmpnsAZCznwLKXMAB0sVPvQU2YVRQdIzknIjAlyYMLV07bnCF9AwDLeKA8uZHsDrZDykLrLfjFI+aO5IxGseo8dQltexR+qZbap3bgfZH9DvT0Wog/rhzb5BbouJaHnxKn0BJ0chz3SmUyy/Sv/mfSIgoVtCuIUtCOEH+SeRmqja4CKu4Rb2WKLQ5ICgSjZ8g5LE1Zd5r39bxCt5S22rHwCCtVZRbrfuz9zggdTmhU5BDh/k5PgFyRl8TTqIyaCiHIMtYy0T/w91MLht6/db9gOO86E6ppmSCLwfxDIqgEMTyyCtsDZvA6VXLto60fQmm1Y48WoeFnJqOw3NdWlYIhC74b3UkRECT5kqdGxkkpi2Qj20yz+gABZqm39ByBSgDBMbZGLzS8uQuxdy9Tr1mJ/xmvdbN4oBdYSOoyopYbtWR0Vcku3zmCd6zd2e+lrk3K/Np8cEwS70x8tbt6EBC/ItjdTb9w+fTZPWBmsMqN4u8AbWiEe51zPysOF+Kg5YS2KADUhcU6KJ1G4ur6uT3EKtBlLkbYWEAQjmpHYvniHWe2qT6wHkpepH7gFiaHw5AvRShLyCLtY4+N0mgwHOuToVjXRtFhY1o5AcuKMxCULrgcS9GtgMYyBiLtJcuTM5c7MHlgOmwxElCQ123agqlz8K9da3MevAMtI1/vo= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f57c6c3-7209-4b17-4533-08da246fab9a 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:06.7986 (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: Erb/SXN/pvdNGtprYSc3aRlfMY7ElV6LSMBNKZdTcxst0SXKGSRho1dMjdyWRUPxUc4RypVEr57bKP3J1YBGUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0302MB2792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075219_815209_710306A6 X-CRM114-Status: GOOD ( 10.13 ) 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 clocks property is now mandatory. Add it. Signed-off-by: Sean Anderson --- (no changes since v1) arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 088271d49139..59b289b52a28 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -224,9 +224,12 @@ rst: syscon@1e60000 { little-endian; }; - efuse@1e80000 { + sfp: efuse@1e80000 { compatible = "fsl,ls1028a-sfp"; reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; #address-cells = <1>; #size-cells = <1>; From patchwork Fri Apr 22 14:51:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823607 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 75E7BC433F5 for ; Fri, 22 Apr 2022 14:58:50 +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=Q+vr9rPWahg7YtTFiyd5SasEZ9JraLfjEcpoI+yXYEM=; b=qIcALHqHJ8KO0S sWxKCalzUxxog58/nbY8t8FecLbVXHhDJU67L/6YRsxio+0APrdYdrlhvRnbympabiMkK5jDvhdYB DkvD88fXxunrycb59n/RrlA7V9NT40fF1hROlkaWyaisChvUv9JQrumqYVUC4C4MlEAysaxflP0d9 yfCR0zUzdstEHMNT0Tis3ea2l6V1IB0GMwPFh0coiLVraYIHOtBIjjI3yhaPAiD74WYgXEUyT8Ex7 dWvtzHW5JI/ez6SNZU81DTjnbdLwMKQkJCQuF9UMQaK4lmg2xNn3Ojry/yoOHUOCvReqvTSYf11ax CpUz7Ax+Uz4hegZWrrfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhuii-000wB2-NK; Fri, 22 Apr 2022 14:57:17 +0000 Received: from mail-ve1eur01on0614.outbound.protection.outlook.com ([2a01:111:f400:fe1f::614] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhudw-000uQa-Sk for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qtgbv5qJ1s/uCIYH88C1Kv8K8OR/Ra/th9YldfES0Mb9b5zPrx50+L2oAUzOqNEfKdaRaiQHu35nAhqTbWSEL6TIHHnOQDVfPur8v3+mPWMAcXpyirwnSWVqQMU6Rq8nV6Ez3OUo4ZARrS/kEfHw9BXQR6bvj48o5TExx3KJTAy0pg2n23m41iLk8DjqdQ8s1XpBbadaaQXZsM/yr8rLaztMPsBWKWBHpuQEwqxW1YIMB6Jkcgn6qxVpwuXC69E9TpcNJfzw4LtoWMwbK+AgUH8MgFPeCl1hG8TgNT9o2fRrq7MDdTxquNMZZ+LNVfQ3UHacKbFsJN3/E5YMQokTpg== 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=P/G4FbVJy1vmb58t9jLsF4M1WH+VulB0OMt29R0ndkc=; b=MoxMgp+hdL0iOH7fciIl8cPJbZHTamhAorzefWUC4FHJZUMvE8rsbQbNrgH/CHvMRISkc5+6Bnd7/EeOljIn2qGuYtE9DJCkOZsZ4oXe6jdhNI/jYHizStfYwnWjSDpvVSUTscOVotVz+VocvnD3bpZzex9C7+XlX3+lc9V2cEB17Opp4qdtoejQX+jIL36qnTBFwthUhZHtk3Pve8Uq1amdasUtblBPkzuoUBGrE5uaZ0dhtnv034a/6XqNpTjLWb7bcRwb5FjabLzL4pKITmaHvy3pEl+JliAIkk8fjvzcUi1uebbgh+TNN8G0wI3xKX2+Q7MN+ezhjRR86ySKWw== 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=P/G4FbVJy1vmb58t9jLsF4M1WH+VulB0OMt29R0ndkc=; b=QkK8iinYf1vOm+CMInE5jeblrEFPGrAuxaucTs/u9ftx/n9jW/CqUT3QK7LPBA/kFDrVGLhSpoMlnr9msZ302VY0fhsBs36GfBFiUXeG8fIiFWt1FrKi9pbeAKDZCusnwv0VJvQcOupsM/h2fiDPLFQ+WkaJVsb102Si8jjduhMrHRZ8IQ+wEArhBmKwlAyT20DTd4VKbh+AnZzgyKZNbBaHu40mXZBr+EsqQDmGlL5Xq+mES3LVLrM5GrSTA9TK7sRe+G5dyk3G9nfcjThU1DdzJUO4/5F96ckxoybxYTqI1WpvdUaM+qbsFhL9MLNphs6y9X5VtPa5TmQiEMOpmQ== 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:08 +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:08 +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 6/9] ARM: dts: layerscape: Add SFP binding for TA 2.1 devices Date: Fri, 22 Apr 2022 10:51:44 -0400 Message-Id: <20220422145147.2210587-7-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: 690b7eaa-984a-4d5c-0c85-08da246facaa 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: ayRtPgG0yHP96JtGro3rjUUovA1zG/PWJ+eld8A/wZsZPtxjSgj7yn283dK6eEFb5SH1mcUPifenKz1mpQJB4iek3pUvhsVrTLUKaF5M1kUsjuVqvFUm/M45LW/LJPTzMAz5vUXqNG/A0uXvWeAHwMHFoET0PMe5lNILUi7NieIhv+kHfEhKlJ4OE9bSB5HXmSFt2AC5fQcQ2Q2RVPQC6FZUsI+eBETz/hZuiz7bWr/D1CZkU3QXHjIWrTa70DRadH3vShXsIdySJU92zXh+jTnSSzAraibExztzu7ByM57mueTYpbHVEAQdhXwaOqBNTPIJFpM7Vam0zw8G4koGxJKHPD6ftF0Bxp0HaW+SdS1z++VX01q6p7aSk9tsxAsmvMED7FaYREy1c8yy0IRA7zL3Pl4IHi+Bsf7VrbPHDDtaWcbk0uQzL1nUE+HM7qTjC/3Bw+CKx9d9yY8E3YfKdRHHqmYEeRTfjn3IVnV7vRrH5PYDyDp8gt7ubzEnu4AtSruuhjDs7KSx06WUOQOhRoC0urycz0c0p2/3QAZo5VoIL3jfhnpI8NIo0XQ7aMZNatrHrk7tqLlVScy42pvcHRyZ1ww9VPFreyyLsLqNIvTcETjCK/MBqeLR+XaylsFSVkNcTkPoKQJcbNYlQJFl7iKuT/J/0rJ/0pmKOeHzm1glfc4/7fYF/uJWdmDwg2RW+MfKi/5LovpKLiHtWD1AEg== 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: jptDDVBNgluv3oNRzAG/rcP/02f/cIbnOHo3T+7mlwDNnMuVdTubH6UC7wNdlWQHHphxwn/p2CPlHz99POjIFiLN97x4mMnlHtgq+DGfF11Pi6BjzXEV/D7M4E3JalP3BiY3WHJ9SSOqtxf//HVcMQ+izvz56i70baYClPdIuhzxI2o1o9i+amWuVFYEPsnXXqVo8wUBeE3QHx/U97B7G6rGQt42R6PrkvPlB++XX2jg3gd+W0sT6jdEkJP3bd/zWEXBxnZFEn+W+dreb5IT80UKYtLMpgfKlJX4mCd1tBtzdsrIdI8k1MRBGeL2JsWE+xbo1JUvzp1iJTz7ZDiHFrcaw1ivdlKn+Zt7wMxNcFIu8kmgWfKGQWP5wBnGkln8b7B1BcpRWqcui5f2+LzBTUF8OK6SntWf36FiujQ8Fp7uFu6QaHgjUdiAyClE2NzrMuog35VH28eAVAQ/4nKTKItH7YU41Pph5k50SrqQ08YwltjiTlmcJ+91HbARMnAe7NP1KaR/LmFhKKwmjevqPSjLmV3GIwMkj4CcFRQ1GGqNU31fQMXu8YrnzknP7Q6DBcsFjOOcaAgm06/IWs9RapifG+5pvgkheGRsX3Hi9IZtk2J4vuQ3vfcFBSO2xRNfS0P2pznRiTP7MXo55G5cBxnNVgw0QHBTTTGByov3eVO1XKGUbQoyOuRjVCS5VnzRJC8+991rjsFALmz3owAkFiH+SrNAeMsO/unndruSV2SvlPWkhf2yCUJnygxhIIBsjKWmdSktGI3RxXO1AafBKlL2Y4NRXvOErByVb23ID6wu7Py9LJJJAlqoNfa8QYEygUwXuntzrDxKCIkpRnOiOj7sf0fT5bA+W8cZW+4TAymBR1S1jgnisJNePwJ0u3+5qBap/OXovQJscovTsu+g4gHP07QrEmjBpUEoCzAgchNIjVrI+uTi9FTDXSpHo2c3cbgp96SCQwlSUCmBveW8TZ/1DaR28bkUQ34/j0slgGCtHtUbMI1ZuRNwCMVByvWXHbSr4jxGd/W7ZlU4vx/L9GJ5nY/B0w8VHY74btRnwDKnXDhxmQB7sMIqOAl8CAQti520t+SEyAzv7IeXQF01UNCtc+75cNr0YT4D3WY4Oywp9HGKLC0K0WS/IO9EJh+b/8KUTidzoPUlNXkIKIMjPU2ywYviIKIs03EVPnRcygAm47lhGCT30Pu6sHz4ux1mxAJxgd7U+BNk6qH40HK27dgLviaDQwjLDI6oSk8RH5vfuqdAUlgHcR4mi7btZX0Wv8tliNZy9Mcoz4OuaqSKqMv7/Ud3aiDx6Yi4ACAilbIrlqdy0LqQSRaLxJo7q4FT3H52BqRl4kCKxa74dash8bTJPPskJVnrlY3Mr62JD46fVLbQyF27lX4xOx0ikUmadVCEJgF/y0jpJuyXnJ/i42Fg1VT9Fo/FCCMfb+AdcVw4sf0eJR95CC0NNosPxCSplaY+4vFQcr2FWbEeZaF4tXWDU64LYZ0HknQFfE4QzXQWqdIo/E9qF8e1FVrWOWSFKLMly1bFt9oGddfzE+4MM1YJkOft5roJuND/1h3Xwj+IlqH8ADqlYb77JJKAf3tmVnUdHigEB7YZiQWLcS8CqMxajmJOBDysL+m89bMCdUMjQTN/JcG8GXVWvgTYrqrMGk288stBU6wpAWjJzbHqHK6nYzlteE+aQqdUwSD7GevRaVY3t2cPmrO4AI8uWORC1f1FB1YQlEQYo1iK4mwNubIfexQvajAxoGiEbyX61zA= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 690b7eaa-984a-4d5c-0c85-08da246facaa 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:08.5329 (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: Jfdn8mohylRm+G1Bmp+xhPk4d3mzBp2cOUpMBtc/dWzkL8dbXKmSXyKfZ0zv5FS+jYegK0XYiNljlw2b390LjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0302MB2792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075220_997776_050F5A4F X-CRM114-Status: UNSURE ( 9.33 ) 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 This adds an appropriate SFP binding for Trust Architecture 2.1 devices. Signed-off-by: Sean Anderson --- (no changes since v1) arch/arm/boot/dts/ls1021a.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 ++++++++ 4 files changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 2e69d6eab4d1..c1e94a317cba 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -129,6 +129,13 @@ ifc: ifc@1530000 { status = "disabled"; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen 4 3>; + clock-names = "sfp"; + }; + dcfg: dcfg@1ee0000 { compatible = "fsl,ls1021a-dcfg", "syscon"; reg = <0x0 0x1ee0000 0x0 0x1000>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 50a72cda4727..47ce525e0a72 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -271,6 +271,14 @@ rtic_d: rtic-d@60 { }; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + sec_mon: sec_mon@1e90000 { compatible = "fsl,sec-v5.4-mon", "fsl,sec-v5.0-mon", "fsl,sec-v4.0-mon"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 35d1939e690b..b0ab0b19de7e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -383,6 +383,14 @@ sec_jr3: jr@40000 { }; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + dcfg: dcfg@1ee0000 { compatible = "fsl,ls1043a-dcfg", "syscon"; reg = <0x0 0x1ee0000 0x0 0x10000>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 4e7bd04d9798..c30056afc02a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -413,6 +413,14 @@ bportals: bman-portals@508000000 { ranges = <0x0 0x5 0x08000000 0x8000000>; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1021a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + dcfg: dcfg@1ee0000 { compatible = "fsl,ls1046a-dcfg", "syscon"; reg = <0x0 0x1ee0000 0x0 0x1000>; From patchwork Fri Apr 22 14:51:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823601 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 20EAAC433F5 for ; Fri, 22 Apr 2022 14:54:55 +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=9gjiYpVTcj0CeqVpMRcbIj6PUMK/QHUikPkdp/26VK0=; b=FC12E7KmuuoXLk GfxWEkTy5BW0WSwfqE2P4sXz5YbeiSELyxGnLr3sxDz31zpI+L3bc6MvIqqO+xr+Z5t/FPUAkGKPx ROr5IFmMN8IX9BDdrJG2wApMdkfou5bmKwpnyW7zU1RNbOtA4Psc3m/fNbFccQaEt2/P2AwA/CsOU UvidsBr/SXPhhxo+1j1E6cBniNIDnNCG7MK16aTRhxujCMaMoC1NYxk8saWw8gY6F3NyykkByzZt6 0tptXOXX2eHq4zbgwS3SVd2WXIATOrYN84mYVdA1aeybpSLUxHIkHry5gsONmTTAvcjW7VwmsANH2 IMeBAyeGQmcr65aGjEwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhuf7-000uvZ-2W; Fri, 22 Apr 2022 14:53:33 +0000 Received: from mail-db8eur05on20613.outbound.protection.outlook.com ([2a01:111:f400:7e1a::613] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhudr-000uQj-VL for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mpO7QjL3th/kQ7sIDXA5Az5VXCEDj4Vg9PkWeQVNnjB6GCQKMKevJnBJuzj+mzrs0haBIS20kBgMw5uuFjedy4n+ZaGyGRuGyWVu1NGOQ35kJIabzdCzwIJzl+76B+KYrcepUCk8h/RN/GuJ8Wg5mivCdZDJv+Xp5+AOAPcJCLqhevd096GEm0F6DbsdDB9RiUfzG3QBKRiODHhGGiS+ngSNlGOriyNqSBfPWRiCF/hLIC73zpJAinBeGh2uECGQHsL2xGprWK8CT+pHYviic1Tg+ggBuZTEsAPBMd12DlEjuapmdh+g8mNrlRnj3br9I5evg292wBwZAWW6okELBA== 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=E3yWbO1eNmobBvHk2WqT+h2o6a/lggZukvnhHN1hLFY=; b=ig3pMcgv6FT0phl/iaM3SzJT/DLTm8IIVVYtiPgRHt9Ixf6GkowTFp2YpJVYadt9oDyilspT4du3YoFBBw+bI4naDbGcje30BfyEcHJ4WYjzVTWZ4OO+7edsh9cY77e5C2KjldE22AGMxyCXDC/QEkO7bho8ml6rfHqDR1C0A3B17HwFTU2UFJE2sV9fkNn6Z+DDwgZJMSjxrHFI9ewzXUjD7jGxsNxNMfo3Wf2BqGcYL1zecOshQ5aWVfWiAUja+jKW/VSzzV7jXz1Jg4dKaNoMAmrBDi9dXUOVoe7vT/WrPbrQhTAuvBqG0C3F9D+9o7sqQRVXfDRy0nECTPmsAQ== 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=E3yWbO1eNmobBvHk2WqT+h2o6a/lggZukvnhHN1hLFY=; b=yDvdnOillpsA+vi5k+Vt81hlRk8uAf/37jnPFpffEve6g2ZImHuSCHoY322K3DGKmB132tgSYbpN9xB6vS4/7YPnBjhqvcXnQ3ubo2ogIYJ/ZFUm7IiQi2vwZFFoL4NEbR/1KdTLoE19ow8NAxxTeF18IfP2phujcEMVncYj4Rog7U2bgAwy/vCljCg+5QXzuL2necFBeqv/Zg/yL87+TglsXk3eSiZ55BKff72dOl5TB4aXFmu/VJYW/V1C2N3XH+oxctM5zEYf4974c+eQWcssZNXXiTeCDGQePbwa2DTwfp9yj3FPZdkSsqhutAgGjRQdoOH70lqUmAxWNLm7EQ== 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 VE1PR03MB5213.eurprd03.prod.outlook.com (2603:10a6:802:ad::12) 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:10 +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:10 +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 7/9] ARM: dts: Add SFP binding for TA 3.0 devices Date: Fri, 22 Apr 2022 10:51:45 -0400 Message-Id: <20220422145147.2210587-8-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: c2d10754-6426-4413-9a7a-08da246fad9f X-MS-TrafficTypeDiagnostic: VE1PR03MB5213: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: t2MrcIbN1BZtXDcID2d2SSfEj63D/x1AuSV6SheX8JJLy4fROyBlHdRVvkQR/DLRhXH5J00LugSHCV+aYhQdWk3wNwxw7ljYiMI4y+PNFVtYkHC6HIQbnClgbGW4EfvDkxrBLYpAws0SscpDhM1uaQ9xEPwXBCNTwMgJtwo3xyOcsjO8foXEsFYMYTz4tvKPTy9HVu7Y1rR2WzOx3ncy0ChJFCcjk3z1FVyKI320PW2HpEnJBEj9DkmSAh1bfTFkrEFlV/C6pJZfVlyr+8oj2hg0tFRlClqDijpDZ33GgT8je2eFNPrFh4VEHW5tK8oVN18ohnPp2Y+T6+kHAOpw2Cpi9uKg3p24pD21mwtLNiu7+RzGhieTYWO9Jm8BgjMXks66/5mFHaA/vtkaGrWSSr2H9tiHYPOibxrbW2VDjPyK9V8zxcss/D1y/ePX7dgCBsIf5RPH9qLskMmgD7tVBuQ5jlI8BQt5qZKKLcF8ly5CZPXdecSbSq4oV+mTnC/BunaKv9Hihd2mkTxpHwVvOtF3XV39hCjFVQledK6nS1JNMaE7NRkTRH9LzFF0/zxM8Ur2Fno8ozmTJzoICuohvopP7XAQvOo95d6chAKepfFF4lfDD1JzZeNwplSesMeG8+SC9cWx0ItAWWeNGFMBbnrwRTfd2AArfpWc1hq+8mFX4BS4czwMC1gTfPBI/IzAVNoyUsn22GxGNw8pDKRhww== 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)(316002)(5660300002)(186003)(7416002)(44832011)(508600001)(86362001)(52116002)(2906002)(6506007)(8936002)(107886003)(2616005)(6486002)(6666004)(83380400001)(36756003)(6512007)(54906003)(26005)(4326008)(38100700002)(38350700002)(66946007)(8676002)(1076003)(66556008)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hR/UVIgYDQ1KNQqfQOLa4NNGCVnr11jIPbhSmZbCcbBDwbkOyDmTrm48T98QZ3O4P6a/JLpYonXAnhRXEQ4gLv+XqwvZpViqOd21xCgqzg2LqWYox43tWVoNrkvU1tpd7UTKFxLk+SjcpT9X6jlKmy/7SVS9bJaVd50+MPU/0HWqUKGi0oK+LKW4WYEzO1L+NqfpDdM88hnohfTW6zIoC43GVYXbE9CGFDP2mVgxth6yTWkAkVGh0c3uN/M4PN2s83kPML5vRjoGjklmBH6gF2hEsnX+1tEVvyfL4dFswEBLRIjR+J9eoeytyz+VMS4TzCBJ1gqgqSC02L+7Y+HMJMCVwA21tkeSZhHx7FlvE2O0SNRUOG19u/4wZgF5KF81djCpiMV69b4dc8/fod0TSWqAFdyps7DfVniCVnNE5ffVlo7PXSrx4ioxNgYFyvY46KY8Ihypn24vnVTogu8FYO3noNzWDXrNNM9KNfv9VNkpJo8dz4opp7gWGwduaCuo6+k+hM+acM3xQIOosL2aq4l/18F+8huJGEMBCalTapzLzdVC/AnXe1MVdetS9FbIJl4YkllDMcRw/Az5PMVb/caFqGGCfmFwr7wfPYxCTWksPIZDSYXt1sied2f7oKrJ9Jf5NfBGrNwqXA6F3UGqDeIJ8CkQg6wnVPdV/zew6cIdavwdiAteYaYg4IlMtV1pwmkpfgmJUvjTlWgJOZvKG4Hir29I2aXtVebn12ACv4HWYTh4AgcfbFTmrlqHM9QaNa0gBpjA+9I0juX5ib0i8GDUmefQEggWWbdl8hNJbrPMaaLFpnmLNiTBJNDrGRe2IqCfyjgnV/QhWK6rLW4U804JIrRadmKr9Vppe1wXsULNr0cAvGm488lP1E0CR3vE/7phuAZPmHs1LtZVM6sG2NyTzM3f8aCFlezGjqghYjncXSXOd7MlV/jdsUfp7pZWPAkQ8XQdeK712F57YUuSMQxtwfO4iL7Ovc3AusO+ZVYiNd+ymOaqIalbUC6GFPDjjSBAc49vvV6P6rQDKuQ0R5GuySEuxJ9kXitFSI6G26w09ei2Jxu7hFplTT/QH2rK6jJ88G/F8Iv8JSvIOZMsFEPIzNR4Nt56DSheOlwNeHHRJPIDPUhZKLpmfmNlnG76xH7i6Tv4GImbwJGsdZNKlv3i8gVH6Bz8qiDykaeoi78Zi8xHwqU2AvRymONo4UeNVhQ63n5n+06vnWpzyrbODNqTKq6V5U8suaTLSEFr5NfMxUguS09aZqDxLj+9Dpuj6qgLyUxQthNlsnLRscKaO++zl06MbUNZ57d8zU9Jrnq4ry+H3c9OnN/VH+u40wI6FEluSuG/AKbb8DG5kpgUdHk2yd+APggIGCg03jZ3n8yNzFoxIYM1ymMPefqtSrIbI/JkfoyBIryWbBHYPI7D0J/e36KPSGAQ5cZsZ6ukOFCPvnNIdMzSOJbEnaf1qQLdHi9QNASZGOM6CveD2ex50XDFII3TWzSmoozmKX9jF6Ahnb4ORpklUpNzw2uKmsOCEeckdK3bVOd63Z2x5dxf6z1BiPJjVbJJkyp5CWppOEpcg2euyZXCxnBicYgkAzq5qS5RAM7Hfz4pzaRztbkXz0njW7a8dQzesLN0E7z2Q9DriIMKn54praueN2s5QiIJrM/PPMx6m8c6YAWhLg9eOudmKOa55WDQxiFpGrbmOGq34MLjbX9pTqtZj4godeqcyCV2WVT6viIgLfCiLrh6Y3eMWQn2qKYaOdN23j/lO3s= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2d10754-6426-4413-9a7a-08da246fad9f 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:10.1109 (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: mhB/Y32khJ/RnItNpHoh/H9YpoVD7yhMbincBXSi0nykSGKbe0J3kqXrPukU9RsqSjAJuebMv/GSIR0mo0k0/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR03MB5213 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075216_103668_F5834639 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 This adds an SFP binding for Trust Architecture 3.0 devices. Signed-off-by: Sean Anderson --- (no changes since v1) arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 18e529118476..1a58e8671047 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -269,6 +269,14 @@ extirq: interrupt-controller@14 { }; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1028a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + tmu: tmu@1f80000 { compatible = "fsl,qoriq-tmu"; reg = <0x0 0x1f80000 0x0 0x10000>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 1282b61da8a5..5705ec554bf9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -278,6 +278,14 @@ dcfg: dcfg@1e00000 { little-endian; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1028a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + isc: syscon@1f70000 { compatible = "fsl,ls2080a-isc", "syscon"; reg = <0x0 0x1f70000 0x0 0x10000>; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index c5daa15b020d..53dd8c7dc048 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -671,6 +671,14 @@ dcfg: syscon@1e00000 { little-endian; }; + sfp: efuse@1e80000 { + compatible = "fsl,ls1028a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; + isc: syscon@1f70000 { compatible = "fsl,lx2160a-isc", "syscon"; reg = <0x0 0x1f70000 0x0 0x10000>; From patchwork Fri Apr 22 14:51:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823604 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 A42EDC433EF for ; Fri, 22 Apr 2022 14:56:31 +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=dU/cNX4Q9Uk74Prfcba+D+fexR5QldfRLeBTkQ4vwZ8=; b=HBvif0ATdrn50n i1BMGSz/7tLrali81KSRzgdWdDv/TOdLLPZUr+eutTIP4uq9KaCCIyOo5miWc7Foowm4kf4/Wps9a DtnJOxZXzBQHsR9vzMQEdlITjF8DtICF6jHlPhr53U9H7XI8SyPDQW+LPJxKPVVkAEFvajJkdF+1x DkOjHFUhuT8fdo7VjAWEEfc5kfSNESD/pcuOZxltnXINByUCv/j446wW17s1TenQ1Ienny6jWRvLO CYfrfWpWuJB9Jt6qtD3MJoCey/63yAJFi6yPlF76BbZG5BWy50M/OPnhrmuz+w4eRAPz37P3FTK+X 4dslv+sKLlpD+VQVAzgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhugj-000vWD-3k; Fri, 22 Apr 2022 14:55:14 +0000 Received: from mail-db8eur05on20613.outbound.protection.outlook.com ([2a01:111:f400:7e1a::613] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhudu-000uQj-LR for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aBv/hLbKBxSptfYF7B8wPdw0rE5z3tX4/iJo2bIyBya5p+xIctgkI1pt8rMHZoQhDgi56a56WEyFQUXFBJ2SIoRCZmmImPu9D2LH1pUTXDd3Tx62q2Vsamp276j45nytk0lMZBSfSgrJSHxd2h4jLCYbHl7bglhD5Vo7z1TfomCCa5/euELXcCV1ZJmg3h4ZZn1pKOSt4GrWVra3RKorl/aZ7MhTqw+7S1LnOSyoyPrGKZmuTQv3gilrCFg8tD6e+T6r2EwQUdyVA495h4SfMGW9hydCGTQG8Jxku1ghc2wln1HaOkMcb6GfbwshL9GzTN7Nf/ogyaqY7l36ZgWL/A== 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=BY+KrddlITclcy05ISnuSBCRR8YXMVd48hcCHAj4NKI=; b=Rhxu9ttSqCdDxPm5aQlYFty0XVHEc10FccRMyOvMu9lNIpORFtNK/lZh9qiEgfRHmdXBI82pO4ntz4gMGEJZxEga1T5xz167IObw24UuqqyoAp+l7C2F0SDIP39dtbDEUr1uD0A2evtUZpdil3zQXNpAxfEiIbsmdTN5XE+mQpubtFQfFwsOVihONutk3YU9XEhmfscvVZl9VVo4p+QookJtzcmTzy+zqXwrGKJi0pfk9B5ywedeIOuLGVaNXkUVeydwsIZndX8v/XLH5heLC8JUJlmEfdu+e8c30MUwoTFdDu0vHRGmA0HuoRXSg9cC8wMlMBiNJdmNZsZ4yoUHiw== 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=BY+KrddlITclcy05ISnuSBCRR8YXMVd48hcCHAj4NKI=; b=lqOMtYkckob8sbhyk7SCaOEjicQguW2UhrXgZ/D2U/PBKcjZQMr0sH5WOJNCt0NPhvEtqdwh/xgQLe4K4NnmxIv8J8H9gYN1jV9NXnHJvUAk3CA0VuBsMlJk0juItDYyjvm4E9PEKryeW6wW3WpCUlLmg2RoOcCaJLgyoLEZIiCyeZsv+w/rxxPrmQUKC1NYjAyF61Si6e8ks8PyvsAIb+krJHCmCcCqYD+pd9/sGGlxcQXKbgm3R3+NPxCmM9UGHkB1b9xmUZ9eNC8b0WuHEZJ8pSTuXwHQjP+RXqrbacY/+e46loxZjT3VOU3CH+/F7V8b/DMp11jXnBei2aC67w== 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 VE1PR03MB5213.eurprd03.prod.outlook.com (2603:10a6:802:ad::12) 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:11 +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:11 +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 8/9] nvmem: sfp: Use regmap Date: Fri, 22 Apr 2022 10:51:46 -0400 Message-Id: <20220422145147.2210587-9-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: 51b3def5-9feb-4e03-016f-08da246fae8e X-MS-TrafficTypeDiagnostic: VE1PR03MB5213: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: jU60NtDlx3JAJMmT5NTiIq24KJRqBGNj5rFOE81SzXCtl1vq7W/am+oxKay2ZKOP+CAVCpM2G1ryOEe830Z1xgS82mlBwOT0Z6k9UEtHuo3SXt49x+Lr5KZrNb9bWFO9aH5fSmYSbiGTKNxiqCeI+cpHMiiYsAyzxGqDUtQKf/jpT0vpSwrwC5QlRMt7/u3l3D7LxxI4c3fvkiDOwArCNg9RLByAQH0N9MvDqAcI9vQozcUtdTg2jsqlmko/xTUN++QdcOufiYmWBYYY6YeCXFS+qKzjne6ghlxDacNf8LWsOX1t4nKwKQYRCqanXaofTob1cO3IXV0My4J+DOJSHn76FpEXO2gti9OtnY6XW+Zztyjobdw+mpYM4qbN0GkAwZR1iJ42VSXSCMpsTOs6WmT9MY87c5WIc1+iiYmhEQ3y0LU0uaNfxuyMRmzj4GPB+p2ZBsr7eUL4WoGlWVGF+NO1luqSnETaMr8X6138rSG+YPk9OlMc5/iDvM6WvHoqE+SYEU2n4JMXd+Rkg/4zf2nD/LKdNxSXCund0AGLu69m7mRm5cB6qrKTfwqREU3lcDDmSQTDXdlE8eGvbnDhyRUy6nXMZCYMhwYqZVEZmBNxjag5Kus8LWoOMkq7NlGhFjFOjhQKwd62fs46nhYzeOeMEnX2quMPPtZ65kNS3q6Jm4kLL+JyG2/PtY61g+DtMO/5n1haRi7lA2/LTtlO9g== 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)(316002)(5660300002)(186003)(7416002)(44832011)(508600001)(86362001)(52116002)(2906002)(6506007)(8936002)(107886003)(2616005)(6486002)(6666004)(83380400001)(36756003)(6512007)(54906003)(26005)(4326008)(38100700002)(38350700002)(66946007)(8676002)(1076003)(66556008)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rnzRGXSrelwaj7Um4Sx469+RQisGfuabEU1hC0ArzPolzg7B6vw5G7hHRt6z16sIKCEABb9k8DJOIj7OZOLEqP06KMdU/U2QeO+hFimRoB/9cqqg3RMYYEl6kuFuFbvND60Nd024XgN7Zn9H/arh9U9Ptc/ZpjBnJdhg8A77f6V7CrHX2KxWh9BiYaj+PwWpHDz+ZhVlwOVyjPF9X5ML5dMEALjzvEEA5i7I25IwBMVrldRun/CqYgIUePgukr6nL/bLHiARznwXxsO7n2cnsKMybkWW2Y4yA+PYEkGy5Pp3ZavwBM31NZHG/J4jZj5ylPLuUOIkD0Iht+2Z6V5RIomADva/eOI96OxKjXjzqKbJk9mf7mwg+/5L1Lh+nmmDB6qROccRj9tbesxvt4y2+V3860bFktus6x76DDyVf/wFmlDkfJnrG6NDVcZKs6KbgFwevQRoFGC7PK1W1jHYMu7zPXTxs9R+RqZCmcaWO42193p5vumFBJTqjcctOKCsGnvk3bE+604rgPrJfnm22g9AR/nDoPTPczYA5KG99DbyNgf8v6DdUzK7rok3PcVTg2SOM2eMH2OmQbrsalVTXdgkfidju57wYd57+UeK8iO42hMMYiLEDPZ98XZr/Pji4MvGyZkYjvhX1oaf99Ye7N+3OHNEaHBoCrqHdQxUV6rfur7FGl28IYGfknAnQ+gXasoR8wLFCAYVV/d8vITjVfgxvMdEsxJU0nPCto1rIxpTUipYA1u5AR29X3E1J/CLQWg8bXs79dBBo4oJzdmW1c2Cn62NKL24w//RVeMFd0IIlT5U0kRbisM8mIajvOmO8H/Fme1UdskIzNeCV1tg9s2xGf/UB12HQFfdruksLKKRqM5vS5uZ9ifNTkIWyZa6fu/vSErSjYxN33mJ7l3iDnQ5JUrnDc9MYmfMpzxiNN2XkjxoA31gYY8R1WbTEZA/fwGDrvGMTqbgFB2nXfmKZBRjFDQT8DXCCE5tThRFH+8BWUgyl/IG9FuzgsIE4xoLeKa5Tb8X4FlnmmRxGUQUeS5wmPVF3RcsvTIA6IXjx0oearz9F2zD3y1F+1zdysBdYPMfpAovXYV1tehZPHRIbUyEDg94O18pabN/bppyrFLktGOGo80h0mDqBRZUD3/9NO4mpOyYMWhvfr4YKd3YsqwXyPpJ1ll5qKzXGGP0Q1VAL0Og+/5Jv1VG+vF8jAat0poON0aSB1mik1j6FtKj16176MGXgLGCqwB1tXyemp4SMgnyg6Olo2469E5IC3jnxzW7Vtau/S7LkdzPuTNoQYzaK4rdVw54oERdXyROccf0GsTFjNxGwcCdK+Jz8GO53aSeEFTqrp+XPDbsCXn8U9j/gIL59yldOvkpTXpGoD4RQall8qxc0XtoRVmsXxBhjJ6cydCgE21hTR6a7XtIvGEiIADnyE/K803552hV88YIAzDjCbI3B3rIrigfUMu9ggg6HSMMrF0j6kVli0YfA12OyRXC9CqVCM7XoImDhHX9vWrnRVgEYXlWQlnnc3R3+YyA7knedK9m+CxMTPm4BNZGdhSGWa1Zll7xC3d2R/GPez0PLRaqyIQw1NkWZkafDffyRDGrGRMvwOnUcgzRRYqenZniVVSGfzruqme23wlJtFMAvb8vArdS3NJwu5cpMMzbqYeSFmDwSE4thv5bObARE5e504MMuv3m85LDmBGhDPYbm6jI2z0DxNAH4y2Zt/mcCPxiAnQde/4LHLabqPyACMXpHhIiSbOqHFxw1lU= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51b3def5-9feb-4e03-016f-08da246fae8e 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:11.6108 (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: 0YqTdBehaY5c3aSNUCNYv1PD0wTLbd+CGAF1/h7VKe4L9BfH/TToZb/1tQZMu+eU3xnQ5eoTORRM4c9IsJVXkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR03MB5213 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075218_863770_0423C32E X-CRM114-Status: GOOD ( 18.41 ) 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 This converts the SFP driver to use regmap. This will allow easily supporting devices with different endians. We disallow byte-level access, as regmap_bulk_read doesn't support it (and it's unclear what the correct result would be when we have an endianness difference). Signed-off-by: Sean Anderson --- Changes in v2: - New drivers/nvmem/Kconfig | 1 + drivers/nvmem/layerscape-sfp.c | 30 ++++++++++++++++++++++-------- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 555aa77a574d..403ed5257592 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -304,6 +304,7 @@ config NVMEM_LAYERSCAPE_SFP tristate "Layerscape SFP (Security Fuse Processor) support" depends on ARCH_LAYERSCAPE || COMPILE_TEST depends on HAS_IOMEM + select REGMAP_MMIO help This driver provides support to read the eFuses on Freescale Layerscape SoC's. For example, the vendor provides a per part diff --git a/drivers/nvmem/layerscape-sfp.c b/drivers/nvmem/layerscape-sfp.c index e591c1511e33..59083f048921 100644 --- a/drivers/nvmem/layerscape-sfp.c +++ b/drivers/nvmem/layerscape-sfp.c @@ -13,15 +13,17 @@ #include #include #include +#include #define LAYERSCAPE_SFP_OTP_OFFSET 0x0200 struct layerscape_sfp_priv { - void __iomem *base; + struct regmap *regmap; }; struct layerscape_sfp_data { int size; + enum regmap_endian endian; }; static int layerscape_sfp_read(void *context, unsigned int offset, void *val, @@ -29,15 +31,16 @@ static int layerscape_sfp_read(void *context, unsigned int offset, void *val, { struct layerscape_sfp_priv *priv = context; - memcpy_fromio(val, priv->base + LAYERSCAPE_SFP_OTP_OFFSET + offset, - bytes); - - return 0; + return regmap_bulk_read(priv->regmap, + LAYERSCAPE_SFP_OTP_OFFSET + offset, val, + bytes / 4); } static struct nvmem_config layerscape_sfp_nvmem_config = { .name = "fsl-sfp", .reg_read = layerscape_sfp_read, + .word_size = 4, + .stride = 4, }; static int layerscape_sfp_probe(struct platform_device *pdev) @@ -45,16 +48,26 @@ static int layerscape_sfp_probe(struct platform_device *pdev) const struct layerscape_sfp_data *data; struct layerscape_sfp_priv *priv; struct nvmem_device *nvmem; + struct regmap_config config = { 0 }; + void __iomem *base; priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); if (!priv) return -ENOMEM; - priv->base = devm_platform_ioremap_resource(pdev, 0); - if (IS_ERR(priv->base)) - return PTR_ERR(priv->base); + base = devm_platform_ioremap_resource(pdev, 0); + if (IS_ERR(base)) + return PTR_ERR(base); data = device_get_match_data(&pdev->dev); + config.reg_bits = 32; + config.reg_stride = 4; + config.val_bits = 32; + config.val_format_endian = data->endian; + config.max_register = LAYERSCAPE_SFP_OTP_OFFSET + data->size - 4; + priv->regmap = devm_regmap_init_mmio(&pdev->dev, base, &config); + if (IS_ERR(priv->regmap)) + return PTR_ERR(priv->regmap); layerscape_sfp_nvmem_config.size = data->size; layerscape_sfp_nvmem_config.dev = &pdev->dev; @@ -67,6 +80,7 @@ static int layerscape_sfp_probe(struct platform_device *pdev) static const struct layerscape_sfp_data ls1028a_data = { .size = 0x88, + .endian = REGMAP_ENDIAN_LITTLE, }; static const struct of_device_id layerscape_sfp_dt_ids[] = { From patchwork Fri Apr 22 14:51:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12823606 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 94344C433EF for ; Fri, 22 Apr 2022 14:57:43 +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=3Y2m3LGLEHyRlgP9Wd9T9oLI70V4PNp+ehaQE5aS028=; b=otK/Fo8mCCn9tt w9XKLZsuvOVmzcjlwK6v3nYgXy3b7A0FbxiCGjLsAWwUFSVOP3Mjqt/s6wLX6xGCie6IxNoWH/2m2 qzm2oTYU6nREiT61wrwjnXlKxamZ1venoyGrLUYc0dNG10qq+ZirVAo462Ljd7Ya/1gGqRC75mbgL C8HFqmzEFoyJZLkAGpmvi79oBgTkLkAFxUKnJDlRmAGjL7pvpFyaOB6Yi7lL+S07rqKLLS9Lqejng gXuSu3e585qYUyDU04003b5N+jIDkuyQ9fCvsgHR088Jw0tPg/Bch9BHgraWF74cD5MEAOOrLGCEh iCR5rvylIXAEMvUd1bfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhui2-000vvj-KC; Fri, 22 Apr 2022 14:56:36 +0000 Received: from mail-db8eur05on20613.outbound.protection.outlook.com ([2a01:111:f400:7e1a::613] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhudx-000uQj-Ce for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 14:52:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b1bZePg6NjQMaf54ZVFmI+BZeVshNQlStXB1RLS0NY8nHmG6+/VhC0VYrE9nhuz1tX0odU7V79hVxnztLu6SSUk7sTFs9diGhDnUd62Bhftm3xQgq/aJFtYPzsLTuAxgIFQDcPoQyFUmp91y3zzk5u/JIfMwRwc0uCCSIsj/GXNZf3ZFa9XSVi8XNQjdEFL4pC9snozlMt7jAEn3w8stEoApCjq78bLjZWuLQdMV433F/9ozrONHYXpf8rSdeRJ0zuIFaph8daTMy6dVZs97lichQDYjAl2Ow913GWE1DsuFUlnVoWYF85cvLLpuJZDcwRtQXNwtzVfhb1EmZVtSpA== 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=Bjr9JNKL9UO3Uu62qeHN87lvtt3gKFygNSJfogL6JwM=; b=oYbNC3xgWecBbOQk7UxQqI8LscB2iBxKQM227iOJ2kLvtUckPTMBfcmfgeQyxjo7bC6OM8/pgUEK63gyXiYi6M/Z308vcz1t2Wxttwj2zr2rTOy4Lp/7GzPvp6CH3pnXlOCzc6gevivp8bWea/RjDv80jPt15xB+T3S3svXNnhUpcYq5BY9MgThUUAAPNm7odZCPybX6NoEph1cZdKjfwYdJ4JRI6Xlm6A19iLl7cCkEOsoDQMdmvjgAavyVnB3GJ8q98VOsWOgwDXarSfr66ZP7cMVaz7DL4boRyOOVPkYEJ/4E45su3dbKsw+EYJt3nS2aJmbxysi8kGW0EqN1Qg== 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=Bjr9JNKL9UO3Uu62qeHN87lvtt3gKFygNSJfogL6JwM=; b=sd0X3Tnz6hz8CTuVWPumsXrbEP2cDzFyyV1qO6/XQeMxtMAVN1AOUKEnHWIvqrHV0O1AnOWqd0l2tPC26l0+glDU5VArxwr2TYqmJiqRzwzcecLT3uSpf2tK4vFmRsNbaDYLQkTIp4lboAIULfWq2sh8SHl5BAEcpTOUhrCOi2MtFZO7YKnzNX+AoZoE7xsM9p1aCz5Zzj0JQ68cX/egUoGZ0KSJvrlZQmjjQi4XA41cCq5W71+7ficQYd4Aaz/REk2jSCxfFpVJjCe+WoclH9mNiKQ9JxELLBUmWLMp5IMVJuGm0aW/nCyDglzEkN5ta/WZ8Ef9X39w/oaCa5Ir/w== 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 VE1PR03MB5213.eurprd03.prod.outlook.com (2603:10a6:802:ad::12) 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:13 +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:13 +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 9/9] nvmem: sfp: Add support for TA 2.1 devices Date: Fri, 22 Apr 2022 10:51:47 -0400 Message-Id: <20220422145147.2210587-10-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: 0cb66460-8794-40df-cad8-08da246faf7e X-MS-TrafficTypeDiagnostic: VE1PR03MB5213: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: W9i23InlELqdprj+WSione1vYZoT9YpEgWQ08B91pDdQW2/dHsrMHhpA6XbJe6wlBOLD+Io9lpBvWyrv8UAW74/R2MXajqKFe7TmIlcTbG/Z/gD63MeqizEVPD2BLTRzf/2Q+F+5F9XgJ0i0QK+ozxAl0Q7DSj4BrNkIJFU1ZrS2SxSrMtjfRbJIfBJq/YAXi8wN03iaKrP019lu0s/8R0Xxi199pL+ZitoILEvrch+1XLMZID0f2OtWULdckN1MOhoFGufgcwzhEscO14hqMPpisbe35IFnyQ8z4JQ2gdOjhzNK0PEn2xycufwdLn34A1bKJmsPYbhQy7rI3tNfYcOCCdFCpd033tCbXYP7uierp7cW4mrFZCPSzdfJa4+LNrEkbu3AZVDvV+2Gv5BQEh4z0NPGiABbwlyKD+JMBlxic99PPK/E7bnSGKomE81oMvIy6b7tEeFZZhO5R4ATc343uYwW2wiqJIu397e0H2zWqI7uXr9Li2Du8XFn3UtytoNcBF0LzxCSsR89oeNgpVc1uHcM9zVDDQzKZeTqjMrxqueKVlFpJ7XXrJVcJwrajbPhwn/0BocWsfslB9qLmtnHom6oVDbTEUKwyBVCJtmqrR0qWQOeXD9OP3GYNgg7lPI4TL+mNE0Uwgm0SvEzYSUxJExnDuFAyc0pUVA+3uGAgDoXXuZOFB+N7sTd23k+z8BKuVB5heEK3hEVTxhsGg== 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)(316002)(5660300002)(186003)(7416002)(44832011)(508600001)(86362001)(52116002)(2906002)(6506007)(8936002)(107886003)(2616005)(6486002)(6666004)(36756003)(6512007)(54906003)(26005)(4326008)(38100700002)(38350700002)(66946007)(8676002)(1076003)(66556008)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: k/OG84B0FHw7b8CdfQzMn3G23EbBK+0ZKwh9OuEio51dH5vdS8fBuJORaSbSDLSKCHhGcCgMAY6Y6rvwoRym48BNHoqzO2elBVqfqb1a98dMtcs80//Xny0gI0yuLt2bTrS5x0bq7cRq72edFPp9WWMSdAzmFDrGIlQjh8+iw4LjfBY5zDO4LOcjGUd//62Tkfp/C6J0XMhv2QGvnw0CXcdHI76rucu01XypE7PAcgn7K0VklxcgP1SYQ85miPNQl+GA05phmkkIvZjdUmWoBkXM7mP4RynHwQHL8fsw926DWMr/n6xM1TPpd7jwt5uu92oxZ9xO86119s3B0Ka6sdKOi+1DCAa0qoOM5FME/JF7xijYEK52tSl78hEdMxcPQM0oS5Af/vdhUwZszg72eAIrlN+knXe1RLGdrMnjiYxn90nHa0b5tLKbWxHQ6+gh+Ab11GHvPsNe3vocmemhxTVpvdokjiO7c97795aQvSNxrT701/1+U2i5BK18ddxCZeT1vd0tpZzhI+uvXWg17JVVeQFwn1/1ij6Mx//RSZIMsfmZS8bvfO63hBChleW0UhbHGXkrsAa+/x7qyUw6lm517M1Ax+eqrscD6Bsantgl8PVcPA7ng1thG1eeQh5gVQ7aFvZRPgxKcufrjej3KGGvaLlg2rJqsZpV7qvsLbml7KJCiUhONFqlY/t0jKLHdmaYQlWGFmBru8uSMl9jG4TZ+a30D7mJPCzQAoRwKZJwdxlU2K9DeP6sUUasTIBBT/XAg4WPKljk/oeaT31FHFUsU7uY5qKMRKhcolZ51iEqIgjHhWQ9aOD4PGZOh1mLuZnQAy0ZY4f8b5Cr14aXn5pomm/OTKQeAxpT35f0i0GBUvOuZDurJMq4Z44WTYCe3RhuP6ydrluLw38lAgCY0fWHbFM+JwlyFD7s41/osjJuYYICOrtZ8debceEghf1TCr0cLJ7fgWELpOwkX/fwleDJ/PXpQhDkbQnvvGd2XbQeN9EqZw/9ossenKLKh2TfaE9b6AIDF3rmTvrdcXwu+Big6jGGICvluI+sf7y/LkvWUpipCScz26AjqbFiX7uzNSMNwTM+3PnIblL1GRk/IeFoGAhpPrZaofipFALB7L/zJnNbY3apoboeIKlX4/SQSms8cI///q/rT8VvbF8ZsttXV6nFEamE0c4uxg4cVB9tMYBAYy/lybde7wI31dDp0Yxj/6JcDnafC42AikXDf3W1EYmYlYf0iaDRsaOsKnm5DDTSJNS/tq9U56S2aB1TPoEMVOKDkHUOCf8pHN7aGId4Nz48OhaZwrj1Kwg1cvcAAnIVaVDYHIwl/0nW+nCBfKkFmuLa0/fkEOqUmCp5PMl9YJ629ZJtusL5CLn/FdTAlpJboA12/y/I8WqSKgQdFptPyqEFY0m0tXP7ceZqD5Iu7Sbwk+NLZ6/BiuRc4Hmt9tb+pHlywYQibgNq8vFfUalPue9bL82YjaMz2+TrQZQUpLAxFkBL23Ru/eKMZuOJksS/6UOZUszLGFIZ/ysd2nlE4AnA1mJo9cbCV2a5HkEqaBP+2FImfzsef0k/9vvfLhIcz8BNc0OTynbN0wwQRI9BN6Mf67cefafsFSX0chKtDo+NN7PkyOB4G6+pHDKLZROT58kINWUSevanANI7JL5/bmWNOz+kNfQztO8iBU92unfWJqfdBRWr7CGBJXy696Q4/unaiX4RntZpXRCYnuPSBJDMmtLoGQNVkzx7n2877NQtYk+wxs1lQLrbFxM= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0cb66460-8794-40df-cad8-08da246faf7e 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:13.3919 (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: 9ZdqYEJ2NlA8zbEcCfp7+jl//fowJKN6WY2Bql4+en5h1zEN9hIBwcwQfgFhNEIxyPATKt3Vjwbf2GAAgPAfIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR03MB5213 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_075221_532313_8E05B137 X-CRM114-Status: GOOD ( 10.21 ) 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 This adds support for Trust Architecture (TA) 2.1 devices to the SFP driver. There are few differences between TA 2.1 and TA 3.0, especially for read-only support, so just re-use the existing data. Signed-off-by: Sean Anderson --- (no changes since v1) drivers/nvmem/layerscape-sfp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/nvmem/layerscape-sfp.c b/drivers/nvmem/layerscape-sfp.c index 59083f048921..e2b424561949 100644 --- a/drivers/nvmem/layerscape-sfp.c +++ b/drivers/nvmem/layerscape-sfp.c @@ -78,12 +78,18 @@ static int layerscape_sfp_probe(struct platform_device *pdev) return PTR_ERR_OR_ZERO(nvmem); } +static const struct layerscape_sfp_data ls1021a_data = { + .size = 0x88, + .endian = REGMAP_ENDIAN_BIG, +}; + static const struct layerscape_sfp_data ls1028a_data = { .size = 0x88, .endian = REGMAP_ENDIAN_LITTLE, }; static const struct of_device_id layerscape_sfp_dt_ids[] = { + { .compatible = "fsl,ls1021a-sfp", .data = &ls1021a_data }, { .compatible = "fsl,ls1028a-sfp", .data = &ls1028a_data }, {}, };