From patchwork Tue Dec 26 18:11:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 183331 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1022807dyb; Tue, 26 Dec 2023 10:13:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGF6IfZPFRSLyw1KjXDiDySfV4ui62365r7Oy5OAeCRu1blxY3NNbAbFxCcRi96q0lUE3+s X-Received: by 2002:a17:903:2288:b0:1d4:4144:1699 with SMTP id b8-20020a170903228800b001d441441699mr1780088plh.53.1703614395074; Tue, 26 Dec 2023 10:13:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703614395; cv=pass; d=google.com; s=arc-20160816; b=fz4jUEVwKHtlA0XCNiUatAquqLxqceJRaQFN6auAgp8xG5dWTsKauAdolFhoavhHc3 9d3RQqBQyrPqPB3TBrROOm9ke7QtZFK7rb/ncV421AQVgcEB7tE0CTpnWFKDDYoMQO6k ivSdJmDHV8cDC4AdugV7Hk4t5tZmEe3c4zbuIGgOMF+Kw/+xEV+YWdXfCji1WImA5FUL CF1VK7mezV6NqXSDLjpLpH2y/1C1GWIRySUqvD1LP7o+01hKhdtY8b/X/KUKZDYNNJVs dZ1m7b7J/ezBbp/ZFRtKN+7Jt7KbGrz8VCLgPxqbfrcuqnShEIWpQ59hcOWqXr1LBWYT QWGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=XhDSuGG9G9tKZc8hTeA5QnvBqci/AaN0HvDnH18r3ME=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=dvJ7vZYfx6BSkv2rxizZtSMXa36Cr0KGo5acEU31UPHtkYSTSAtNoygJXbZp3CzJiK XKsUhXjsWjlV6QNqCqcUZ0tydOrXcI82SIRoKZdkJA2hszGfY0JVwTmUk6O2LWoYC45l B+sgjdo/v66LGCFb4UPqVXhNxDO2JgVlicCmOaBcNCuEe581I2VHPXAgn13jovjC28t3 YQ8oiqldElwm2e0bIkqU7NNFM9jmQGAUxG9PL+EoVMqkpo88RDhsPireqajABpu6ec0N 92dswe8QlwNsBi5xWgYOWIbgEef3iG58LmJEqAYdI7xges8N4fJaBtA/nhxJ6vh8VjS4 J1xg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=rAocvrpa; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ix17-20020a170902f81100b001cf68d3e90csi9710324plb.98.2023.12.26.10.13.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:13:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=rAocvrpa; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4601FB21784 for ; Tue, 26 Dec 2023 18:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5B6054672; Tue, 26 Dec 2023 18:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="rAocvrpa" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C14752F70; Tue, 26 Dec 2023 18:11:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dgt6e9DkXO4h/ufQEfKrUXZ1FWFmXsVAQdIykupdQHDnqDzpHyvCsrz18VQsjNmKmpTRbMSDcdqURfAu4EOdN8YHT4h+jmPlKclLfSSwlfC9u0jTVluLTpzBQthJ06DDYzBxsRS/HMAlJ47Jlv5GpiiOJQXQ1YujMThZkNnoWx5v30Ks1oOaV5H7qqev4+42pRb97sllMH82pMEplSs6uSacb7mefX6uBiJqxnu67xySFQ2/wrTCjl5ygVSkwN2lzqIp3QBs950DcHrY0g/+9IkoZrpSppN1poJKvkMN9HP84l7SZ1Crls7vAxp3ZPBwYAdRU/2Mkn8U1nQlgjYi2w== 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=XhDSuGG9G9tKZc8hTeA5QnvBqci/AaN0HvDnH18r3ME=; b=iqPykhXFo3aKGbMWUjScTmCN+qLwVCgXbyJaYW49A1fsCDpgRkOI3a5OPGBmzIJCGLFwEh8Z69ob3TbAr+XyOjqe2IyKVbB+hZKTJkkfVXSRSMRZ7TC1mcryRzY9vPW2V5CGu33fVk1GmHOqB6V2JFLr8wSUt9Isbq0Wsm9WDAUm/QmUmqRXavr11HoKPcNjY/BJr8Zr1PNd/oVhaaav8Bpzr2sQ/WKbhA/OnJstjbpJ9y0bIfG4OPrbEO9Tqkxsfb9KJpcBctER8CXBbGVjI9xhLy2s/oCimg+eLFXuQNJ0zuRgQp+8uwMYySDgsizfyJHN2YZlN/K4rMukE/Yg2w== 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=XhDSuGG9G9tKZc8hTeA5QnvBqci/AaN0HvDnH18r3ME=; b=rAocvrpaN40uJCf+lVMhDtw8L2Ad49+jlu6P0Yy4zseSyNimXJdsERu6cy6nsEt95jqssgnsjL4WdQOmjQXDsfSKerdh9JU6uHwmqHDv8eA7PKkVLBRLrkdqWY8cPREIAjHTALnJYzfaSCPeLLhfIcN372nwWcEvIWhg1Ilwb/s= 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 DB9PR04MB9868.eurprd04.prod.outlook.com (2603:10a6:10:4c3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Tue, 26 Dec 2023 18:11:52 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7113.027; Tue, 26 Dec 2023 18:11:52 +0000 From: Josua Mayer Date: Tue, 26 Dec 2023 19:11:34 +0100 Subject: [PATCH v3 3/8] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards Message-Id: <20231226-support-clearfog-gtr-l8-sfp-v3-3-fd1ac2d6bf2e@solid-run.com> References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> In-Reply-To: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley 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: FR0P281CA0038.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::21) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9868:EE_ X-MS-Office365-Filtering-Correlation-Id: 26ea4e74-ebc0-4306-fd87-08dc063e2305 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aQXLsQ7QYC14fYmXThADW765w9o0JUGixGkY5wRhPQDBob4ICP3KGVl+r7j3eq5qP1m92dOy9karjOVft9VUJuLHbIrzitdr6WvR3qpYNblFgEDrFT4/nnbIyw17vABcqn9zCAOQAdWwS0lUeNob1u5Op+uW4tb/W7AXxlQkB3yVQCXqghSY7yLv6SJzGk3LnuSAkfPJ+xEjUEIyPR9CXQAQSJejw6jlTDnj3M2ny2nevTXBndoXGAo5+HDeN3Lb5cWKAdtypMECutRPEK8t0/YXtOgQmLUW4UCM8ZJXSjhY25+J1vJqlY7UChORwXQgMpgrZWjBLYQyLllsm2xVzW1GseeTy+sbGYontrElDQiCLVrAHEZFSE7ndRV4Q/nkl7jOHapjlHR2rmYOxkGBsCbxf1zY9YUfbmHbrRE9+XUcuUWdtyS6e0igaxozf0ntBvsHzIaAyzlaCzGT5k9DJSrAEpBC2Q/NmKKQBp40ykfvGoynF3usKmdz2k240BZv+z6iEwa7+ziOZ/wVmij4SgyABoLXQoW+BxhMpqXAmkKCJvmnhAMWDKS5up3vk9HJU8U/Hth+uaw/3v93EddKPCzlnbM4h5XQbzQshB7n+YgZGHqvvYdjpTJ7DkktEDyy 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)(136003)(366004)(376002)(346002)(39840400004)(396003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(26005)(6512007)(2616005)(4326008)(8676002)(110136005)(66946007)(66476007)(66556008)(316002)(52116002)(6506007)(107886003)(6666004)(38100700002)(86362001)(8936002)(478600001)(6486002)(5660300002)(2906002)(36756003)(41300700001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?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1xKcnzgzRsHwuZuzRa2aClXWJ8H?= =?utf-8?q?Pl2zK8vambJE+UdPHZI2rqoT/85oaKucQvD4tOnSl+wRKA/jChaCdg5m5Bf6CAcvD?= =?utf-8?q?2LTnEKxbMuqgJbBmPMYHr7oQ/DjFhG9Hgg5eKTbBoml6fEi4xbMJjVSt960gyKmRA?= =?utf-8?q?2m72Q7VAkXfSvRFZJpI14RFBZAA6sku4uHsKgBtLBPiTZ5cHgxpkjkwpJZ7daOYsI?= =?utf-8?q?mnVdr3WiY1oZmIZDUJb3zoKixiUEL+rP81Lv9S60dtU28xAIR6+Er47BJv93sQe0C?= =?utf-8?q?gu2qbU8zQNffpd5X0cRTa9yvX7Dqx9eEWWX2Z8Kso6rb/1B8FpTjKio3TWVR2T4cO?= =?utf-8?q?VkZABX+DlNjW4syjWvzNT2HQhNQ4HOa0G1NBD4vtWbOYISzJUw4OGEzqhvhRbcHGr?= =?utf-8?q?Ler0PDNviyNp4KX9fKE3DGy5sSZb/6vnN5vZZuE/VkbiYegWbZ7C09gn7kjMlWulb?= =?utf-8?q?mooddet6P2ae3XfPAez1MObVOkKODfvTfq3F+vt/6HycLnB0zT6BytZIBeYLCFyKT?= =?utf-8?q?GmjTp+h/F+mH14BAkzD3+NWDJBmtoT8YAQYZQhb2nuE26ux8api/z/KvIR6lr7mGw?= =?utf-8?q?YmmlD7xlZCFeJoK7pv5KQP9w4BBae3Al0MDvfY4qQ1mTfBqQmqGQROfPT5pIF8w6+?= =?utf-8?q?4DNB1d0vkvry?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26ea4e74-ebc0-4306-fd87-08dc063e2305 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2023 18:11:52.6066 (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: fOeYbQBpHlXIQcMxAbnAb5Dw10FXFLwiITLiQgLKTYhsTPbbQfUdcizAiP2QmAPqlx4WInnakIx8hcV4u3PJrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9868 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786369127901562498 X-GMAIL-MSGID: 1786369168050509781 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: - armada-388-clearfog.dts: compatible = "solidrun,clearfog-a1", "marvell,armada388", "marvell,armada385, "marvell,armada380"; - armada-388-clearfog-base.dts: compatible = "solidrun,clearfog-base-a1", "solidrun,clearfog-a1", "marvell,armada388", "marvell,armada385, "marvell,armada380"; - armada-388-clearfog-pro.dts: compatible = "solidrun,clearfog-base-a1", "solidrun,clearfog-a1", "marvell,armada388", "marvell,armada385, "marvell,armada380"; This has historic reasons, the first entry is a legacy name for the "pro" version, old versions of u-boot built when only one variant existed explicitly boot by this name. 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 including base / pro suffix. The legacy "armada-388-clearfog.dts" is not supported by these bindings" as it does not make sense having two bindings for one board. Signed-off-by: Josua Mayer --- .../devicetree/bindings/arm/marvell/armada-38x.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml index 5bc69c4fe34d..f77976138bb3 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml @@ -38,4 +38,16 @@ properties: - const: marvell,armada385 - const: marvell,armada380 + - description: + SolidRun Armada 388 based 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