From patchwork Thu Apr 28 18:16:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12831091 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 3AA1CC433F5 for ; Thu, 28 Apr 2022 18:19:22 +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=2MDQnfU/k+MXOm dJ0aGthU4piFmevNPQX5VaDTOmOlMMdXNs1RSoXd3+A7i8eBRVpdvdnQLkw7ZURxu/kVF/bWWd3/V eo2ubJKjO1dtD4AHymiA2xrGtmHHVFUi9gFxAS4FoEX6QxMBXDlmI1K6iP2aOfyFdDQPJVe5i+Jk2 AlnHUaDULqc8Jr+7w5nsPPPob93+FJGJxGWTmnkgeoVX2ub44sYceUNdsqy4U2e5UFSGPws5iEo4y y6PWkVC9Vdwih00VUSIs/DPWGynVXLlDScycdG49kSRz/dipulZdphbK5NlGjaMinB4BzPc4FB7r7 vRTMbtItMUj5ZGGVpJbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk8iL-0087bA-JO; Thu, 28 Apr 2022 18:18:05 +0000 Received: from mail-am6eur05on20629.outbound.protection.outlook.com ([2a01:111:f400:7e1b::629] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk8hi-0087LK-Te for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2022 18:17:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I4cRYBs7x302oIfmqwfCSo6z3Bya5ASdgvrim6SxeKkS5uWy44SizmB3hDwuW86RqzBjHiWEWBTRKxBThu2m9z0BjBv+uFE9sDpgW54ko98tLTI8yIv60I/YOFTsQc7hOmHiC2O2dKIYXR78xIfuqmWEVs4ai1oqJLvMl3TyYYxOvEAHGGvRLXNq35gOFtuV60LLVsFRgfg8o9RlEwlZDUQSoZc0Ka5TIyh6Gn4kzBzhq6gGFkJGK4rrAdbbZ/WUopiS9LvSCAowGVRLOnTTldimr86LCW9vb3OkJ+0mjL6EPdx0jafBwq0s9sjSu/JCCmAlRgcOihouFHlQoHSPkA== 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=c9Hy+WeLhOkNEoZsox1rdTBThZPDjq44HvjkqkejVNDH+PJkrLobt9/SWuErzeoDzbxpscnHFfcFnBwcmrJ/F4HiDThxL7JYanIFdfCOam3nDaE0RKa4AKA21snSHJL97Rx0A1HgGFg1kbKZu082xZ3/2ddvb2+fckVUI/6CHufjhMHzLGznrLAPmPbsWjKum5Ke5XCbeMOrZXvRScD+uxN6KuErhq7/W1HL9QiVnAL13chSDPnfW1HAjdeuEn5dP+FDY6jIEY+lrRC5Wv2s+Zgkz74elyZWHRJLfdSoCQLKLM4l4oHjKhxNHh5Se+yxJcirlgnNCj/QMRncqq5z2A== 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=jsnCUuYutdHK0aXbGY+qQL294Emr+nGeLLqYVpUcfaNib/Ix8ixGOHZmtO0cWUukKwvH4hH/VcGaKSxdfGai0cl9Mgn6u+JGBYsKuJgh8eBawBLfkPGirmNa8ufOSN021iqxyO5Ys1hxKwISD/7h0xuHk3Um1laPv+/RGFRq52gctjZCL10fOzpcf9yJQxQ23c4zfoMdG43xyDeK4bymQSljKdvsNUGK3ygRGRG4ZTdD9sPeqQXyQNT/3g4gDZhy/cqa/qLIzsAN+PBnfj2sDzxFzJ5I3xUStyk1PWn2VNo6V6NSnhOY8jQay2C8+dUBTJkWE6JE3CV4fbA5EyhB/A== 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 AS8PR03MB6775.eurprd03.prod.outlook.com (2603:10a6:20b:29d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.14; Thu, 28 Apr 2022 18:17:21 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::a9d3:8abd:3f5e:a0c]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::a9d3:8abd:3f5e:a0c%5]) with mapi id 15.20.5206.013; Thu, 28 Apr 2022 18:17:21 +0000 From: Sean Anderson To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Li Yang , linux-kernel@vger.kernel.org, Srinivas Kandagatla , Rob Herring , Shawn Guo , Krzysztof Kozlowski , Michael Walle , Andrew Lunn , Sean Anderson Subject: [PATCH v3 4/9] dt-bindings: nvmem: sfp: Add compatible binding for TA 2.1 SFPs Date: Thu, 28 Apr 2022 14:16:58 -0400 Message-Id: <20220428181703.2194171-5-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220428181703.2194171-1-sean.anderson@seco.com> References: <20220428181703.2194171-1-sean.anderson@seco.com> X-ClientProxiedBy: BL1PR13CA0117.namprd13.prod.outlook.com (2603:10b6:208:2b9::32) 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: f79de2ca-d69e-4105-a46f-08da29435605 X-MS-TrafficTypeDiagnostic: AS8PR03MB6775: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: BstQGYhCkLz4Y62S37H6EaDBMuq84c+REf900DYTCALNjIuvA1BCn2j/PmOMFBsUUv7IGsKA4q6geZ+t5pUKHA1LLK2qnyZP8vx/5hCmdMrWQIet0lMX+XeSfvcPFkcZ/6APo6pJOx36s+Ejoa3l6X+5FcsxLR+dvzb6evKLbOytrqLoFNkgV1vwV4TfVY7l4cNNxyssmp/cC/93n1l/CG2QpLumpd7A9Z9aknZK4/GArlw3WuiHur/zG1aUDMCQa8/AfczwRTe13/i6TR5AFKiG71IIMIcPPqdKauioTO4EeZ2OCkvv8NTGFgujjTi5Kmvg+3EOwpn4v73ZoaMyj4GIeXhGtLPCY9QDS0omt8D/+5u1dR3eeCM707yAXxW3tJFk6Mjs4sTxVt6N1OAYVJcgHV3RlFYg/0VeZ9UqjUWg8F4dI72IHp1j8zBcaO3BHa2Evwj7ecMOpxs0KtifJUo2WS4KwAyygp7dWVN/9FMfo4r3OFZn5ISdUY8bEUtVLfxrlciHqD51NY515sKov/QkHV//H9ShEqoqw3ZthLzeny3hkz5KlHVmLrSLzg4XI2IMCbw2+Mul95xYJit4ZzlgDRtcn4Gh6eoDIrCllQew3CRgKA0Xr4YSW9s89XgTfVaI/ioJ5l54RFOA66RV+/5DE5Y3NvX8gc4dQq8Zmi/VxGhT4zvwL1wtnttdY++Vsu2JIMA3JTu8t3q8mWdCjQ== 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)(5660300002)(8936002)(6486002)(86362001)(6666004)(2906002)(44832011)(1076003)(38350700002)(508600001)(7416002)(83380400001)(38100700002)(316002)(66946007)(186003)(66476007)(8676002)(66556008)(4326008)(36756003)(6506007)(54906003)(2616005)(107886003)(6512007)(26005)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 62Ig0t1a40m3MIFlzf7sWlo9A3gX+5gxrxj5xZCqRRXWAmXnBrxMClDijWAKlP9/VxxUJ3L6gYJ894EX4kZyLfvTan8TsabDfeOmjU/VSe+2crjAc/2i3zFT8G0ZYIbWWUukv/KktwH4URYgjvgpbfIMMAleya+J7VmjuktzZD/DrLGMRc0S46jYa93PUz99ZJ+NEjZWW9jNgZge+ITLJuf03TQYaCbrMJgIYcASpZ7KoJ6NX5SODuFnm46Y6RYvAa2HfJ8h94QJUkIFZvjupxFLudwBXRvX/adI97wLOJu3J+WsDEFYF2FQPh0JgekSj6ail6WIKIUlVvd7d5sZV04qHUHjSXytvUJ9np6n5DZ9H8+wBE/e7LzV4jLL1XcNiXxR0aD9SaX0iIaOe3sq0e4rLt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5ehS2VkoSR5MJR2Fjms41NRIhIhHiNNfeC8V7nEjr684iDx89s3wFWzj5y/kDdmHhiSZTAQ/G1Cla3IwZGKMWrDpWRXAstmUhYgdfVi+LSTIlHv6gorMeNeUSeNovws/W7+sszqALUMutKMD/lWEZ87f9Z8hGZb6I68CeLKooSwq0nryNo8//PIQhDHNaK8rh0xG73h1yrzzx+muS7OQgwvJKxHiS7oa8QSTNTshFJyX677wXwTNBj5CHCtBuNNwXfr0DfxoZKFjA= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: f79de2ca-d69e-4105-a46f-08da29435605 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2022 18:17:21.1604 (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: n7pWUVZ0KYyAESZnoGTUus9kJw9SLt0yeQOcwG5K2ImLJPf7wnc22xIkPU/AexxHkn9L1Cp2t6gWcyotdOWfXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB6775 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_111726_984398_D3C3DC36 X-CRM114-Status: UNSURE ( 8.83 ) 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