From patchwork Thu Jan 4 17:48:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13511415 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 5CBFDC4707B for ; Thu, 4 Jan 2024 17:48: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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=V8PILEI0Cs3PrtCGXcM6CLJIQd/YG0tSeURav2lrEro=; b=oLtjOwzDvtWkPSHfWiraFNlwJg HtbAoDWNPlDn1loZ/w3HYGEslHSdV7LKwsnFM3JhmKNOCuWVpncARBPiC+CfhfMWoJjSgoBFMq5L5 5kniO/PmTi6U9nb5hKRcWJyXEM0tccuJVklEBLbP3JnBgRPAo20uNAU0WRMkGBmwKJvHlvKdxH9ld 8qs0fyQUE9HUfQr+ByVxnjxREzVAh5HraZjoRtRAlztWMfIRZBsG/+Xutblzl2jrVG8xZALEwLCdW PLMLce218WYCHhPZdxMFPQLnCj58mnwFEuJWsPSFoS2nDmyYfi7EwhUY3r+GGYDicX7NpH9jEhQhP hJfwgZJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rLRpW-00Et4x-2g; Thu, 04 Jan 2024 17:48:30 +0000 Received: from mail-vi1eur05on20617.outbound.protection.outlook.com ([2a01:111:f400:7d00::617] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rLRpP-00Eswc-2k for linux-arm-kernel@lists.infradead.org; Thu, 04 Jan 2024 17:48:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MSDaichh8v+OQxmudyBh0h8p55wxI2GcLKgZVdTzJdtupatpnb1yICgFo3oefXiQlwmTmLvQw1TMxwioiAFv/ORkXxpbPPRjwtCzUF7/T4AKHKokYNVyxOMuo4Aa0Z93dFeLhYjdlyN6VLZy0z0W9y7EC27PhzaMV+7tt/ZDfc8oip5NCeah6nOD6vRLwkGwYZ0h3X8zcq4AdazAJlL/2oqscdLrwXw85FNH4mrh43IyKm0/Cw50bi4WsL9fTyKr8wNjuSUJFWl1GDj7f9m8YtUCR1O/9ygUB6Rp5KDenbSxoppInqznzrDiqTdUJSekUDF5dnCy5Oytl89G3hGcgw== 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=xZMh7FfH4jbyi1dDMTMB29O+GMdZq52dYq9LPTt8IkI=; b=OltJNcEmtg4VjGFR13N0JuHcqfp24VySxmmm37+Q9/hXy+OUOGH70R1I3K4GBjvjBbm0GJMNhmovxp0xK82N6JLu2kpmKpTAXE4YuPk/onGe5wxzzwyFjDlAV68qk2fiq7NBI4y3+2RCru1p4CFVfLy9o4t1Xb+f8AHTsdS/L3ExKhRZMWL+kqZLIc2RF/M5xnUVlhdRVXbsGUSInlybijz++nk9J2mnsF8ymssy5+bFVuoDH72An2JkXVY42dlIF5stOs9Ozpd8C03EvNYAkNMArx0jhpKAp/JVOy3TIe8vVhz/ZdZI8YssxZI1U3j74U7LviTdiCBr8K8BhiX4ig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xZMh7FfH4jbyi1dDMTMB29O+GMdZq52dYq9LPTt8IkI=; b=RVO3W0N3dvY83PDDShbuLu3X7JXSdOKcznwNKHvs/GQATwYHcNRwF/R1psoHxUmZ4OOsSOv+T22jXIv8FbTpEtEvzhEKAhU+jsJfvPLgNF+EI//Bj1E4PP5XT2DMXPQayGAXzdmDKVIeiglqFwiGN/NYaQgDgx8uXDPoDXB976A= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DU0PR04MB9495.eurprd04.prod.outlook.com (2603:10a6:10:32f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Thu, 4 Jan 2024 17:48:08 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d%6]) with mapi id 15.20.7159.013; Thu, 4 Jan 2024 17:48:08 +0000 From: Josua Mayer Date: Thu, 04 Jan 2024 18:48:03 +0100 Subject: [PATCH v5 02/10] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards Message-Id: <20240104-support-clearfog-gtr-l8-sfp-v5-2-52be60fc54e3@solid-run.com> References: <20240104-support-clearfog-gtr-l8-sfp-v5-0-52be60fc54e3@solid-run.com> In-Reply-To: <20240104-support-clearfog-gtr-l8-sfp-v5-0-52be60fc54e3@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR4P281CA0409.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:d0::9) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DU0PR04MB9495:EE_ X-MS-Office365-Filtering-Correlation-Id: fb9a1f3c-495f-4023-07e2-08dc0d4d4f25 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 10jXO8qlcLWO1gf91rbWVsWbwOJDy8/+14RhH8w5ssIQbsUMajt4B733ZOZ3WSGYq/d6ZMSJucAlBRy1xC1ae2o3csTOY15zSI9xDoPUFxHd/ycuOUFGy6qNxpnCqcWKvij1IO6TgxsnoPVaK0hOm1wWGhBQlzARoaMUrwFkof8skET7vTOi48IgIkSFeMBeqe+eAsdnCawV5oGN1zvG8SXXTPzeoBI35H8PTu5Al17GjuAVBcYQi7wWvGjLN8o2ypCVDz7hyAuEO7PzatrqBdXTypiTZD28idSDe2OQuhD5ic74tcTEeHGBJW3x1LfrDSo5NkfOOQMDQV0LA3uXPQsi6c9X9NoIglwJ+Ik5YmJrtBSrSG+kl1S8xYMSN/pSbiTBp+wkO712B8+zk+Tdeb0Ze8W7m26MXVyIv8DW6r0ZNsjfzFCbxWz/3okFwx0zENf6bVA4cdjulBao7y3PuxmtW4xC11+GZ9/lw4raQKT387H4DkPbJwIN74LVuseb/UG1j1uwDMBaZGKbuxhmUtbm2zDx6/ddC+QAK14vyEwQN0/iaHXOsLtJyGB2oSf9spb+CNi1ns8+o1+rl380B3K8MLgtebxhEzEEKUdw4romk5atFwSw0bDOBP4popAX X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(136003)(39840400004)(366004)(346002)(396003)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(26005)(2616005)(6486002)(52116002)(6506007)(2906002)(8936002)(41300700001)(4326008)(66556008)(6512007)(7416002)(66946007)(6666004)(478600001)(5660300002)(8676002)(316002)(66476007)(86362001)(107886003)(38350700005)(36756003)(110136005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+C/qNL5VbxDlgG8Jt5FPsCxJtFIH?= =?utf-8?q?9cjWahB5ZWlm+sIIpe6zopFJ67M9SrV2eLtPvjoioLRNVnN26Zy1JOVJ65P4KWVUu?= =?utf-8?q?2jxpQ1wYxjUYWNSiFbIQl5JhKn2NSbOmqY+UQcissOuK478T85XDZQaqvgPMi+azj?= =?utf-8?q?Z0BBPoPOv+/O33ED1e+ut0mIP5cNIZobEIZZO2B90xwKhYd2yUw2jykFOR1UgYP9F?= =?utf-8?q?FInmxJTvCWnJIeeCZrlF5U9Z7BdacZz9lAeUsthC9aUyH6/C1GqkbwpdNBErzlxgn?= =?utf-8?q?ERDuJ1l9zahdoDbpFOvWRI48qUkpdkxyZXSMO19K11aeubWJMKTQAxr1N2NvWtFO6?= =?utf-8?q?IPhIdq5IxLDbsZU1nTVaefVFC8llsZCO05AI8C0oGlCc6kZ0q3p6eUDP19Bkfskoh?= =?utf-8?q?dZLrwQhc+nikocLPZg4euSimB79uvNm9EXKPn/jlgkNuoOrXyfPtzRn4+WuZOlQ5S?= =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Cezd4HKJI2O39rvInvnXsbgrJ4mkXNRf8nMOLwEvoJQz5EG738?= =?utf-8?q?wHusQ02LAri3PSuROFbN+TdSv3IaNxLnwaTtR8fWYh9rb0Q8khLjrrQ/P4y55kdHL?= =?utf-8?q?fVYAPhYxmqN8kCdmi74rOgMxSVDc8bM7lJKiRRGPMk/vDglv1F6I/bmZFc/X8rKs/?= =?utf-8?q?VNPQblFrhDs7?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb9a1f3c-495f-4023-07e2-08dc0d4d4f25 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2024 17:48:07.2283 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nkuNR76/B91i5G7nuUqwdjzNaHpozdOmRELD7aHMqlnc/yqp51mpG7m8FGWtfwhLmefzbpE7P8HpliPjkGnuJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9495 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240104_094823_896151_27DD8F92 X-CRM114-Status: GOOD ( 11.89 ) 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 Add DT compatible for SolidRun Armada-388 based Clearfog Base and Pro boards, which are already in place in-tree. There are already 3 distinct dts in tree for these *two* boards, declaring particular compatible strings: the generic "armada-388-clearfog.dts" is a legacy name for the Pro version, old versions of u-boot built when only one variant existed explicitly boot by this name. The other two add explicit -pro / -base suffix to the filename, these are preferred and chosen by latest u-boot. Note that both compatibles and model field include the string "A1". At least up to revision 2.0 of the board, this had been printed on the pcb. However in marketing material and conversations it is usually omitted. "Clearfog Pro" and "Clearfog Pro A1" always mean exactly the same product. Technically Base and Pro variants are similar enough that they can successfully boot with each other's dts. Hence it makes (some) sense for them to share the "clearfog-a1" compatible. Add bindings for the explicit variants -pro and -base - including a shared compatible string between the two. Signed-off-by: Josua Mayer Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml index 108d665220b5..f4e930d8cc26 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml @@ -39,4 +39,15 @@ properties: - const: marvell,armada385 - const: marvell,armada380 + - description: + SolidRun Armada 388 clearfog family single-board computers. + items: + - enum: + - solidrun,clearfog-base-a1 + - solidrun,clearfog-pro-a1 + - const: solidrun,clearfog-a1 + - const: marvell,armada388 + - const: marvell,armada385 + - const: marvell,armada380 + additionalProperties: true