From patchwork Sat Dec 30 15:44: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: 18613 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp3144872dyb; Sat, 30 Dec 2023 07:46:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxeJ6iPreXZ9v7oMu3I6KrwgUM7NFkv0JsowIV/RLnV2JcrZNt83VWLlRUnGsb9cu1h7+r X-Received: by 2002:a17:906:8a:b0:a27:c797:659e with SMTP id 10-20020a170906008a00b00a27c797659emr374835ejc.147.1703951172258; Sat, 30 Dec 2023 07:46:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703951172; cv=pass; d=google.com; s=arc-20160816; b=fTgrzK+1rxQ/2rRkO2XjdOumVh//2dWCqd84vGHGIPqQf4f+WsX4YOET/wbr+qtM9r wb/WKYyUkPAE0CfBONQC5+SIum/RMpySl1wxM8V/euhzqI9WciOWf5rRvjkQ1hkcuu2x P5tnNghImCB7XcNGcsnPXc9GsoYUb116BZGgiGzZNvpGaeucbyjwZtNcj9R6Fwx6rPzQ kFoRjfAaE1bizCys8o0txlo0uVJkmdXXbNaSuDdFp1zsEhH6xtmP2zeOz2xDoYT9byj+ cIsuEEFnntQI2aV8xrMPzoUYBOOgMDY94LeUC2Xon0jV5XSHy/OOFsGxIygYccMXR/qt hbDw== 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:content-transfer-encoding:message-id:date:subject:from :dkim-signature; bh=tOdUbyZIg4N0pHwkxAftRnGuagmHBGntjCthFDV3DOw=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=F/F+5x0KRfl9eryBCHzYBKTue4qVXjb50p50+9lw7X/SQN3UJJkRIb6+pW6ChC/hKH fS8z3bgiX445bFUHWBeEzlXKRhyo+gCEoCz0xpqGdFYBI4IBqvo47VEvgxIqsVt52Yet 6DdkzZra6glqFmW8D4TNTPHfiRTpdIOeQ0aOyyzLEnAukGqV7rpS9Qg4ozmqs+sSb2jM 7jCDk0Vs34rlbR0PSO50KCEPfk4q0zJWfcuJwCnEfmrsVR/hP8kf7H+VK7E8Ao5adZ/I TaJXDcOFUJrt8mscJtFw0Lxd7w30RvWIr1eLD+zESbgbgZ1ViemJO6df9CYGxNJdUPCE iIhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=LBcUV3zY; 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-13464-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13464-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 a2-20020a170906274200b00a275c0b9104si2278897ejd.911.2023.12.30.07.46.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 07:46:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13464-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=LBcUV3zY; 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-13464-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13464-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 705871F21BD6 for ; Sat, 30 Dec 2023 15:46:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2239611194; Sat, 30 Dec 2023 15:44:56 +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="LBcUV3zY" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2083.outbound.protection.outlook.com [40.107.21.83]) (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 9064D9465; Sat, 30 Dec 2023 15:44:51 +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=WaCVOcpbQi/12iahUHwLvfn4iscuQWZnDN2qs4uaO0/BoE5TJUCAnCzoKjKnjjxQzSlJLdf3YOwYAT5yf54w62eSELnC7TKl18ZW3r5vuY+s3K9dewYknOSnjVZlh8iNZcLg6ZtsQNiqozwL8dIuPbaWlvO6q+IbnCBYg+bFMzZXrGUHyhzIfH+prrfj4+18ErC8B2ZJ8x3SkgSZIBKwUFlHArUjEzdX7GMLG5jls/UQrqcQL2sdVyhuxcRQ6NI2PcvXv5tv45lh4pjkeoXOCgiQT4kE40I4s5kwat2O46dCnL6t4JGOmm2kPENuK8BucUGKged5bua4bh3BDX7YUg== 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=tOdUbyZIg4N0pHwkxAftRnGuagmHBGntjCthFDV3DOw=; b=S8bkoNe1uzun2uCFpKey0cy3D9oCnVDZC3oCJqXSVLQW+INVaHMFlA1B0S0iPxKpbhNvd25v6YqiMb3XsEUdI34OG41F2VEAP34qNWFJaps/u69Z2dK5KVmdolT+R/4vx8TIrp0my4x9IPtiG/8USQP+8Qg2HPjss/xkODbWig513iOS0Y8XIKMW/3OkoFrZmmyYxpNfC36R6h8mgSr70zyVhl4M6J8Es94qbIhXjxw8fKHL04Ud+Thx0ggUwK3SupSf8MllGnkwDbK0GxgSWjKshn55fnglId4mL1qwjM/a/DBouAuzpaoLArCh2IiD8bLLA0c6gwEsa9oBXjQ9cQ== 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=tOdUbyZIg4N0pHwkxAftRnGuagmHBGntjCthFDV3DOw=; b=LBcUV3zYXe4XomvjIWEkysaOVWxIvH1oqQdVyaRGbQ2ItF+Q1fB3DQNzN1u4f64pnXhs5vIrzHchZc6r71UzGa0FnDdjjrCMPY3eUNgQ3Lpm7E3yoZG7FntfRO22M7fv/augCVUDZ42Zk7vIXX0akA903AZ7jZQ/N8CrnK9XTmw= 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:45 +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:45 +0000 From: Josua Mayer Subject: [PATCH v4 00/11] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards Date: Sat, 30 Dec 2023 16:44:34 +0100 Message-Id: <20231230-support-clearfog-gtr-l8-sfp-v4-0-1d7f0e2c7128@solid-run.com> X-B4-Tracking: v=1; b=H4sIAOI6kGUC/32PQQqDMBBFryJZdySZRGO76j1KF6lJNMUaSVRax LtXhYJ04fINvPeZiUQTnInkkkwkmNFF59sFxCkhZa3ayoDTCxOkyBliDnHoOh96KBujgvUVVH2 ApoBoO9CFVEayTMlCkqXQBWPde6vf7gvXLvY+fLaxka3XX5cjwzOnKRM5CmDw9HFQ1+gbpyEMb Vr6F1kLI+4twQSXGU2znB5KfC8dvzByoGA1UyXq/GHR/Pfmef4CwqhUCjUBAAA= 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: 1177cf65-5eb3-4508-4ca2-08dc094e3f2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AJRGe+zEfhm4TQwXxIltFYX+zGWyVqhU5a8u0/0x1jHNDRQBjgpzy875O8ln6c91yn8eEd0RpIMjijAopLsZ9agyBtdeZsEe+Ruv22wkQMTzs8cYSdR+ZdFnpMZ2SJtjkLu5kbwkD+puAAwQ8HEGpvCfak/MgluQke8nMI3BR6jA/rG84Q+5KOduVwRBwT1ZAmAdBVM9cGq+I6CCUZX2CRWOxUL6OKBOi/WYE61E6eGlQDY0qFMp4Ni8q6UwCp9M60YLLFZugt/S9k119/CljPckJQ630nAbKg3fajuxbcArgraOJ4fr/RrTLFnP1vjqqqTKbwmvYUwaqdiTi7f4oV7gdnpU32YjI7Z2WPi0qlYw8kr6T8e0RLSghzIgVDxaVPwERpZRn5l2DWNu/BIBlKlJgeR4iyb2zt2hGjdfc3fT+F6j/nZQGXLQiWx7HFsh1/B2znjLW/FlbTBltqFyNONvTqnXBmi/g8wP9PtF3s2eqDYtCnP/JULfWcMbFTUU2tHC6FtAE3eMMB9rY3IgYWjEvGI2fErDb+e+21+DWCsLQEOrPFZBa8yOf/LVhw8J7bWtV18h4z+1ttn8H4b8XqHoDsdA2j3fNTxK777N5L0= 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)(83380400001)(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-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Gh2Z9CAudFo3LA0F7brLuXmw0Wmg?= =?utf-8?q?z4j4lj94Aw6iDznyjX2ZouIgRdwQcpqbh5f5gMQ7UmotXZxUbbxXuOwAUSRNN67j0?= =?utf-8?q?FNzMx0X30/ceqnWLeGoUsVhQ/Wevi/SxB8jqMYuPok+SKbqzgM+XaHxUIlVDQvM6B?= =?utf-8?q?71iPRBoVRez3t/I6zDyXkQ+9Y8LPyA8L7P22Wysx5uOsSmgtiGuocQi/BJNczMXi+?= =?utf-8?q?NOGs5F/hZchFPiSWwRB9aJR4wImBr12VZte05A4hj+lkiUciMhXUMXVKcgxjcvncp?= =?utf-8?q?MmDmNLA7BWS/38buggGCsLnT2jHpsdljwYEwolkh2wGng/tzLsEaNkA9+Yl+Ai+es?= =?utf-8?q?JUxtomaPI6dIJo1++CdO6Qz42sOs7TIe4Wf6p1vCupYmX7xMRyOBWoFrypzvjtmCf?= =?utf-8?q?vwd6ct4+3/ZDEUoQvY9lPZw/0v9hCuuZ1IBNO6gyxODGNnu/wp97wYGYwZc8Gh99c?= =?utf-8?q?u1nn+hYnG/7kSO1Mth73DKfEPZf5eJDwoCOw/x1SjEJ0BHTdqR/Ph0JKetlC09yFr?= =?utf-8?q?j7neGbdC0/SW1XW58QmZNgfA4rU+5yxCldrTs367+ZRfghI1ZUOX2isYbAXvoGvlq?= =?utf-8?q?oYHYH5PaaX1yKnlHs+sRLYJVr39/qQ/BQarDFsP0lZyDS5vXZDSzuCMo+KCdKZcrE?= =?utf-8?q?neoy4Dm1f/p0m/39yu5TUvH+44NcaPazQpi+S8VXzih4H7k4cXgxYriqWosQ0Ysqn?= =?utf-8?q?ZOqPMDR8Cs5h9t0x3DelQNP++Ve7uOO2F06BeRFcwnLW8XIVVCcy5hX8dJe63bmR0?= =?utf-8?q?FvFE04rg/y4eQuRh+2tCS+ogiRITQgtwI0FTRsB3tdDG02QPOW1bjjTrhSLarAchK?= =?utf-8?q?I61FQ2X8Ez2aapwJn+rszEW7WFOs2gR7xSZ56Ez88jF62AUVJkPrgkz8e6voQj9xS?= =?utf-8?q?PpwCoVzQK9RMQDufYcIOQxOP8FFBa3lkAzZqQuAjPNaJxx29QDbrvQaYZlg3sRIks?= =?utf-8?q?nkd0YC0FJBcF++Dli1c1v9Ix7BZvYaXZBJsnXWXkiq1fA5nz74+Ao0mMoCvVlY1FJ?= =?utf-8?q?DQb8CgxakQQD+hJTQ8KHgIawvSj1a+MXIdrPRunm24Pdwf9KfG581eMuzsySJmLQ7?= =?utf-8?q?pVAht/ocmnOfgcJZ5KDzbBGGSQ23HHwEt41nD3pp4bGIYGraPkQoB5DPF5BY9Jl18?= =?utf-8?q?Onefe2OkH8eJZZDMrVHXj9GAU0nsVn/NINE37T0+ggydKWpm/vWetfNuaX7FPcgJ9?= =?utf-8?q?NGlHUvRD9AbqRPNG/E0LNwncnrTP4Kr95pOnuxJqPzyGAQJ8Zqu/Tj7uvURc2qCxc?= =?utf-8?q?dgEgjZPuot5j62d6wUGoYI+OG/22dax4CoIK/aYlbX1Tsaep3SdjI19R5ydwVXRu/?= =?utf-8?q?pU2mx4MMFAMdZlOD+T07iuIT5wj9Nl01hVteHM2ybE4myXeHPMOvRhdX2ARKH8m6i?= =?utf-8?q?wOZbV34lm5k4JsHjrd1N+hsl1tgCAI0he9wAtHb7bGToyPA7eR7B4wqzmaX5wv659?= =?utf-8?q?5slBRfb2zlGTmx1CQH4GVOoM9M1RLRhHLKJeIAXO8uPOltsrrp5fwm56kTftuTNJb?= =?utf-8?q?ZrwH8fPdxl4/?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1177cf65-5eb3-4508-4ca2-08dc094e3f2a 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:45.4589 (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: Dlwykbie1wR6DOqpq5p/ZSbe3J4U80D3Y6eLzrs8Plh8V9VqmjiGD5IfTvao0+jAUXxknc1eaEW4HH0UwrqEQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6970 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786722304282563890 X-GMAIL-MSGID: 1786722304282563890 Dear Maintainers, The initially merged device-tree for Clearfog GTR devices contained various subtle mistakes and omissions: - missing board-specific compatible strings - missing pinctrl entries - missing second sfp connector - invalid sfp loss-of-signal gpio - mismatch of labels between dsa ports and enclosure Most notably this had caused functional issues with the sfp connectors. This patch-set first deletes the invalid armada-38x dt-bindings. New bindings are added specifically for the Clearfog GTR boards, and for the already in-tree clearfog base, clearfog pro and helios-4 boards' compatible strings. Secondly pinctrl nodes are added for all referenced gpios for independence from bootloader defaults. U-Boot is shared between armada-388 clearfog, and armada-385 clearfog gtr. Further remove an invalid io from the first sfp connector description, and add descriptions for the secondary sfp connector which is driven by dsa switch port number 9. Finally labels of dsa switch ports were updated to match the enclosure. That patch is not suitable for stable. Signed-off-by: Josua Mayer --- Changes in v4: - dropped invalid soc-only armada-38x (txt) bindings (reported by Krzysztof Kozlowski ) - add bindings for armada 388 helios-4 - updated yaml whitespace indentation count (reported by Rob Hering's bot) - Link to v3: https://lore.kernel.org/r/20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com Changes in v3: - armada-38x.yaml: removed '|', no need to prerserve formatting (reported by Conor Dooley conor+dt@kernel.org) - update commit descriptions to clarify confusing board names and compatible strings (reported by Krzysztof Kozlowski ) - send to all relevant lists (reported by Krzysztof Kozlowski ) - remove duplicate binding for clearfog / clearfog - Link to v2 (patches 0-2): https://lore.kernel.org/r/20231224143750.5604-1-josua@solid-run.com - Link to v2 (patches 3-8): https://lore.kernel.org/r/20231224143850.5671-3-josua@solid-run.com Changes in v2: - removed changes changes to gpio numbers because they were wrong - added bindings documentation - Link to v1: https://lore.kernel.org/r/20231223212930.14624-1-josua@solid-run.com --- Josua Mayer (11): dt-bindings: marvell: a38x: remove invalid txt bindings for armada 38x SoCs dt-bindings: marvell: a38x: convert the soc compatibles description to yaml dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards dt-bindings: marvell: a38x: add kobol helios-4 board dt-bindings: marvell: a38x: add solidrun armada 385 clearfog gtr boards arm: dts: marvell: clearfog: add pro variant compatible in legacy dts arm: dts: marvell: clearfog-gtr: add board-specific compatible strings arm: dts: marvell: clearfog-gtr: sort pinctrl nodes alphabetically arm: dts: marvell: clearfog-gtr: add missing pinctrl for all used gpios arm: dts: marvell: clearfog-gtr-l8: add support for second sfp connector arm: dts: marvell: clearfog-gtr-l8: align port numbers with enclosure .../devicetree/bindings/arm/marvell/armada-38x.txt | 27 ------- .../bindings/arm/marvell/armada-38x.yaml | 49 +++++++++++++ .../dts/marvell/armada-385-clearfog-gtr-l8.dts | 38 +++++++--- .../dts/marvell/armada-385-clearfog-gtr-s4.dts | 2 + .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi | 84 ++++++++++++++++------ arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 5 +- 6 files changed, 146 insertions(+), 59 deletions(-) --- base-commit: 861deac3b092f37b2c5e6871732f3e11486f7082 change-id: 20231226-support-clearfog-gtr-l8-sfp-d87ae715a787 Sincerely,