From patchwork Sat Dec 30 15:44:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 184017 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp3144728dyb; Sat, 30 Dec 2023 07:45:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEq21JWd5iF7aKSy8HG5jXt4h23l8YsO9xpeOi404Ps2VGv5NkdqBGKX0Cm3zzj+RmjDgGu X-Received: by 2002:ac2:5def:0:b0:50e:630d:7364 with SMTP id z15-20020ac25def000000b0050e630d7364mr5361911lfq.28.1703951151693; Sat, 30 Dec 2023 07:45:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703951151; cv=pass; d=google.com; s=arc-20160816; b=s3xd2aQ87jOSr3Nomg1luBJEp+yjyFuFS7PwMSG9rfQk9PP07PMojUi14FsqInbOIk /YBLbr8WZPUghgaw/n2dM4h1UX8hZF8zR/woeCceXjaGvNDIySWJAZ3A6Zsz7gwVgfGW V07vCl/WVgHmwxjHAI6E1QZjvH9XR1V3WX/M0+D1K2//11IIqCpx2+XBDa3WHS1QahBE n0n7giwhgfMMWq4GfmHU5gGTj24lwGTw+d1f9x6rhJ+SRhpyMfDgXlHnXsYyESJf0W6K Mnx5qPx0mQNRpXbkAykABVIBHBukeRIyS1pv6ZIUCIxsMsNYnk1WzVgLgWfQkzUTsPy7 8Svg== 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=U1jefzKMvZkRJIxSXlZbuk8TcVlPWBB7rZYpUqKDH4M=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=pLmisMcvGm1RcRj8rflJBTdCWC6PyCxRreDDypFNvDpy+/ibZlqpDxRXbTWxCbzt0e kyAw8tyhF1ZnVEHLsbwU3xhf/9SiRrS5uo68a/G8Ha5zCYU8/WSlgALlds+wUWux9kga 0CfJQmunKPkzDA90qUL7lFVK4bOMToWMvKXfiuzS7VQyBv/yAmUGqW74MdWPtz5k/tgB 9YyMDAukP/lSFJhwh0eUlvCTF0vv205uoNkTb+03uWG8sjpXdXyIWTrNGi3mYvi4qC1M teXRqoPqsL7QMQvcFzB0qT+nIv7XfS3X5aqIaBUAbVkjagQeHJNZtukaqNhHrzc+mK/0 O+1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=gEPU2ZXG; 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-13463-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13463-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q16-20020a1709060e5000b00a27d926cd76si90413eji.625.2023.12.30.07.45.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 07:45:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13463-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=gEPU2ZXG; 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-13463-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13463-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 23E841F21D32 for ; Sat, 30 Dec 2023 15:45:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61DD7DDC9; Sat, 30 Dec 2023 15:44:55 +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="gEPU2ZXG" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2081.outbound.protection.outlook.com [40.107.21.81]) (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 2098F945A; Sat, 30 Dec 2023 15:44:50 +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=Srwf5t/KcpvyObeH/zojqH3upZQ1NbjHawHEr4/sv2DM5QZeBd/qWyUMNuXwiHzUpC/elviPBN2Xej3ARqwtAyT+RXVCpo4ZLmf5u1yFQPQwuz7kvfpYuPR7qWLE34cLzu+DI6IKyK7lvBXQAl2+/meu01xXCBwBoUf4iFHLtqDmwVli/DlW7A1TEjqfmxXCHiMb4o3COXnyPi1hyXrdNsqrkQVTgOUDwkpqFZuJ70kKTlHIGFtw4Sqqps4cpFqotBMAmsUUBtx1Bn9mkXHTaq2gYp8tk29Kn6hXB3wj61lxffnXcWkuf8NJHhZO32M5vIRiLK/V//rc+tzuDcDqFQ== 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=U1jefzKMvZkRJIxSXlZbuk8TcVlPWBB7rZYpUqKDH4M=; b=HquDXPbIX18+snckQ+zF4zGYz55fCQ1BAnxNjpLjjR4qJzEz1GB7WH0x3Edxqj4nu0cbZr2nxkbao6AUacAWC7MHX31sbnQqKXMm/om3OBt+s9axlKUiBGGgXvsx2fYTPz0cZn0/BsS/cx0Ybt0fs999zEnZMPcYImEkVv/DO4yCeZHS4eXcDtFxjBjAj1KNRCgBbJk7piGKuFZbUc3ya9wmFBGEQrxjIzVd8e//sm5dgPWGr//HR1xaH3Lle6k4GRiEluoXY3AscPRMO9QGTrlgSF+BQdgDg+VQm6AvxA44ZJDpU6G8pnC5pZsEHqsATHfl5U3DLLVkLFL9+fhHBA== 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=U1jefzKMvZkRJIxSXlZbuk8TcVlPWBB7rZYpUqKDH4M=; b=gEPU2ZXGiW99WOPxqwsFUDp73/3/Opm5sdnCsVV4V+ndwLPFWoGlllVhBmSIupCzPvSDr4Z13g+2qoic/eQLp/LO3z02+sn1F/Pic/yvBybFjxK8tYhjEqc3WTe/V1H2kFnaurW0ujRreRL8bX0WEY4Il0Gozt8o3BvwjAfxKiA= 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 DB8PR04MB6970.eurprd04.prod.outlook.com (2603:10a6:10:fa::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.22; Sat, 30 Dec 2023 15:44:46 +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.7135.023; Sat, 30 Dec 2023 15:44:46 +0000 From: Josua Mayer Date: Sat, 30 Dec 2023 16:44:36 +0100 Subject: [PATCH v4 02/11] dt-bindings: marvell: a38x: convert the soc compatibles description to yaml Message-Id: <20231230-support-clearfog-gtr-l8-sfp-v4-2-1d7f0e2c7128@solid-run.com> References: <20231230-support-clearfog-gtr-l8-sfp-v4-0-1d7f0e2c7128@solid-run.com> In-Reply-To: <20231230-support-clearfog-gtr-l8-sfp-v4-0-1d7f0e2c7128@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: FR0P281CA0247.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:af::16) 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_|DB8PR04MB6970:EE_ X-MS-Office365-Filtering-Correlation-Id: 089e301f-d86e-4298-cfd7-08dc094e3fce X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6+9N8scDVVG/bduYXAH9ZAjoTEvjvOUvVtw1mn5juI/zz3bKzdSZ9H40Op5jSUKpFwDNFqNdBBzGCdosDhOkBTHh8nUYq2a7rVtxtMdhAh96UmntDJ2uHp7l8E237bJ6ObiWaP1CXv1lqjPhGu+JVDfBYCniuGfHzYGA+Al+tN341UzeQyjjnF4Yc0l6bpZTIdvu1ekiZ3stHTmUTFILOyfs/TiMwixYxVyfFIfAZETMU4hH6lwCQQQ+s/DoCQGCkp02JPrkN9vNtBYXz6ppHSurSc2BwxavjnAQzNGkJXoc05VW2oMKprNmjleGMqtXE8ipWKcSUaDJoa5cmhlw+wQqEPn+6DT0eS0dzqjS/48iqStn0Yl5kAQaSP9oFma6Yri57JeDEOT+xTfYzG/iMX0c4O4vEjqoWu+DOkcopc0/slSgxLWiT6n9z23GoKtJhGlnJfobz+93s6IrnuwvDGG6Qv+RT+PATUwVxjAF4Ug9pdZTJpEWmqg5DHDQid/VGTmrjqXKu4AgMI+aqgDoKEEhK6BcUX+rovFBhUtziZcx8ggA0hrcnMJTU1JQblLwi7LzRnQa7WzsIk98vYMUOBscIdX8GzXqau23rr2FBbo= 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)(396003)(366004)(346002)(39830400003)(376002)(136003)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(2616005)(36756003)(2906002)(86362001)(107886003)(966005)(478600001)(66556008)(66476007)(66946007)(5660300002)(26005)(6486002)(110136005)(8936002)(8676002)(316002)(4326008)(6666004)(6506007)(6512007)(52116002)(38350700005)(41300700001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-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?q?qmuSoJG/NciRAc5DLMm716ZDYdMqBybenlCIrBc6CFJkPJpGJeV2/0SlmasaF8HHS?= =?utf-8?q?X97XEctCnl3uM4LS90jJFerKIVzlc+ONtFT9K6wWXjN/61t237GCoHtAKQD0eh6fW?= =?utf-8?q?nIVSvStLPEEpVlhl6TWHgX+BzNCCvSXO4lUETRgqPovbFdGHWbOHBAS+r/o+0wFgy?= =?utf-8?q?LKQWeHW7hkE65XZM2ccFcAcCy5CAEQ+SkQArSVOInzf1RAVwQdFJ+9kmTD84cGfTw?= =?utf-8?q?ALR213E/SxDXoOQl87lEDOrrrnXn0768S+ElaYOt5Ok7wJkYttsMfnfCQrZMxklGA?= =?utf-8?q?4k/xJx3cJuU8gtjzuGxg93lQu9VUXCpGlYBRbhc1royuUgzRurcvwt5VXrv9UoFGz?= =?utf-8?q?spwBhqFSxbQNZPHIo9ub3Ir5lbfazRjP4Z98eelfECa7FZrJJID1eLfcdKeqp02S5?= =?utf-8?q?rNeibh4Bjfj9dR7FBT6NOCvHkSvbn9Mds/zbfWdQwLWUhLH2vjVQ9KMxClFTrpeSE?= =?utf-8?q?AX5EVJqQUaueRt9J03k6T9VXfmHzTKM9K7Sf+hhWPjPWQ7bRkszdxvHvRVDoF6o1l?= =?utf-8?q?UvAGSFZRuS4o0nPrDd/FY1EuzZWcKBBCifZLD65uT7M/cAJdOPGvL86Sc2fx2ZUIY?= =?utf-8?q?+0FB5hueJCENruzGwn8iRDIHDTyqDoLMlkUHVi6D+Y10vsGbrUACxwjWMHK1zx2ot?= =?utf-8?q?8Kg1Mk1pu/ps?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 089e301f-d86e-4298-cfd7-08dc094e3fce X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Dec 2023 15:44:46.3450 (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: fpXS3KGk8rRnib8rhb8czROqXF/lhgzEmD1vsplxpfRcX0WDxiOA4yTQtmhe4vtuEsXAfDWPMaWKfbw0uKnMcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6970 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786722283060571507 X-GMAIL-MSGID: 1786722283060571507 Convert the existing txt binding for armada-38x socs to DT schema format. Note that the current bindings only document the SoC (armada380, armada385, armada388). This is undesirable, instead there should be entries for actual boards. For now only convert to yaml, the content can be corrected separately. Signed-off-by: Josua Mayer --- .../bindings/arm/marvell/armada-38x.yaml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml new file mode 100644 index 000000000000..5af222e6db18 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/marvell/armada-38x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Armada 38x Platforms + +maintainers: + - Gregory CLEMENT + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: Armada 380 SoC + items: + - const: marvell,armada380 + + - description: Armada 385 SoC + items: + - const: marvell,armada385 + - const: marvell,armada380 + + - description: Armada 388 SoC + items: + - const: marvell,armada388 + - const: marvell,armada385 + - const: marvell,armada380 + +additionalProperties: true