From patchwork Sun Feb 11 15:07:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13552493 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 91171C4829B for ; Sun, 11 Feb 2024 15:08:20 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:To:Message-Id:Date:Subject :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9/eep6Qo7FTLBcirEZ0gn/v4f1ABuAMpDJseQqrOV2g=; b=GZectLPn/V2aVc waqfWCEl1pQMX/STc8i4+CaBhdh2HZkvAH9Ujt1FSod0/EUMokxep2yBcDNwS5bnmXuij5d2Ebe/n kaOuFAWva3ELWfRSZQ3/ryfhbF9iAdi37xvKVa12lYz8fDW8z1lCUrxLvNO4dfpBn9r4C5mIjKdIy CTW7vnYJtgJ8dIXuB209CK2v3cQt4wKbaGLM5JAJ1w+gMuP0xbKM66QCfol3++64OW5tbZf/kvszH A+xJ1iUdLmqtajmjns9wH4Qp2KAOq7hNL4OFA+TktXQhLSS5WpoMUIlmD07MhpP6xEaSvXaAA+QWw cG2sf2WqyJwg04bvxa0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRC-00000002svo-3bbb; Sun, 11 Feb 2024 15:08:10 +0000 Received: from mail-am0eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2606::701] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBR8-00000002stt-2HVi for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 15:08:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lut6LOhFASHyx+wqSZCDGDaAiUKeXGA9ZUte5rDuxiyb4HtotL+QI1JZtdSiBzQKnVqaVqkVhoBUcN9eeFcTTrjSQGmZ5t2csnA7uPOp9IUe6K6hW2evGQxSb8qkFlzvl4qDnbZAcAUAq43k0ylX+vGNPEDw0P+60Q1e62eELnce0O7M2l6gzxjKlsxO+n6Ak0++/xEP5ONFxaWdcF/tWfQ+ED24m+VisysGPigVI3up3m0I7ug7UexL+dEiyP+NTtpzOXz4prlUrDWtd3jihRPyyPtCNPYmlwyd6ig0pGf3r8sQYP5MMP83VODyNx5qQqZWWepPjY+vg+gnCms1Gg== 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=BS9rv3uzhhFRsT44a1y2/97KbSsJTCT9L9lA4NzVbRU=; b=mv395PH0SnDBWIkuDSa6JRNX+Bj6OXzl3ihV9+RJBHzjacSHltOue5okL2zAdTwH50i/sVV/PmzdI8/qkcErvKEDpGjHtFkLTaLYwfVa7WkbX9hbT7cxfkJjvBDXfYMiaJrF7QUoC03jggUFn0CcEG7vxeSlFnFPtu2JmEc39y4EaP1xia+7eWZlMY3uAEp3KekgUj7WVTmjqKHDT2MTsg09qN0uNwPn5IWZ8K7XwNM91FChkFxUMG9sLP35TKJcoqMfGwmFudQOWeCGeXtmvYX4VlTkM3QbO9H6pZiQZLiZdsebYRcDu8VESX7eBw84K1IAkj9pE9ZtSlmhBiv5sg== 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=BS9rv3uzhhFRsT44a1y2/97KbSsJTCT9L9lA4NzVbRU=; b=mFVkwFmAahveD6FY155j/jxxIpuUZ3mMPy15BEHcvShfVZY35dbfjAq8y02RJf5E5iCpUC/taSwfGREkhLE5eylr3+yxv5VNUbdbt9ulxPUG/h8yb2IkH9X56WZI2FgHLiRESvCOTth5letKUuhZniEJJlcJ5NN+vPJXOXKf3pI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by DU2PR04MB8725.eurprd04.prod.outlook.com (2603:10a6:10:2dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Sun, 11 Feb 2024 15:07:58 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Sun, 11 Feb 2024 15:07:58 +0000 From: Josua Mayer Subject: [PATCH v5 0/5] arm64: dts: add description for solidrun am642 som and hummingboard evb Date: Sun, 11 Feb 2024 16:07:55 +0100 Message-Id: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> X-B4-Tracking: v=1; b=H4sIAMviyGUC/33MwWrDMAyA4VcpPtfDku0m7WnvMXbwbLkxNHGxN 7NR8u5TC2NtCL0Ifgl9F1GpJKrisLmIQi3VlCcOu90IP7jpSDIFboEKjQIF0oUg3bgzsuZRWnD gnekoRC345Vwopu8b9/bOPaT6mcvPTW9w3f5B+hFqIJUMwUHcI3aO4mvNpxRk+ZpefB7FFWt4B wAuAGQAdG/R7LzB3q8B+h/gsQA0AxgNn3SwivZrgHkGGAZs7D8AXbTUwRKY5/kX1xvEF28BAAA = To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: c4162f87-3fb8-47ac-46fc-08dc2b133b5f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QYm3gbFt/IsURa2fdcljJLcbqfOWaOf3d0584zLBQH/4D5BKkf1p5hsyxETsEjlt2/Pss2gtQ2jZkld4cfZ3m4ajyahyrv/1wRBrXMNmV0c1/ZwDvncyoziYS8dUEYnerSCN9k3ZGdexG5yydbykzQ91QPjS2StycyuIDwT/UMMchxAuS2kHvCcnkRkZKqZaClrqltlkGadwBe3Jjz7hEF6cfJLM6YK8aGWoR78vica9AY1eE3VUEKG7ShRM0v7hdNYV9wz/cD9v1t8h5fOwENdGI/RXfrCsSRPQj7REnxPtDZz0tLvDz4twovz4MAp/iNTkEupLKQzhd9gEzebxB4VrqbjAEcF+iOP/7lMvS69sEY0Ll5g9vA3pAU/4gWY6yC8ahzHaJOX2NbDEvErJ5suogYPN8YLzedwRYQgpuY141S948QiN+0TAgEMPPXc4CxC4MsbMK1MlmrsReE57YyZ95V7RHjxTL/DqeRDxP5gKApcapT2ktNzj/fkXpNV44K7bzBwkHEyi5bN61f/qiDVhsIcAztoVsDOjZmt3kJfqEbP33yg/2bon8RIo+G4rrQIQx+mZw1LYhG0KO1ZN41PSuqWr0fXVbqDe5nZARQc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39830400003)(366004)(136003)(396003)(376002)(346002)(230922051799003)(230273577357003)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(6666004)(966005)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(38100700002)(110136005)(26005)(5660300002)(2906002)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?S0La10aGk0IhmEfitQoAEjbSafpE?= =?utf-8?q?RhnIQVMD33iYx7sPVYxfmGi7U9sUgh/nSrIYpQEFGNBNxBkhcXKCMbId1GLKmMroB?= =?utf-8?q?hAX1/Okwe9gn+NGU010fx1LG3mPu9Tmamt1TZkhOHNHQMRoRPpFRKtxBJkutrIj8d?= =?utf-8?q?asNWFYolst5IcKieaTyDyK8uNqLBs8DrTRmwnAX3vCzyxCf7K7fAnxU4/zap6uIMJ?= =?utf-8?q?O+0nYoq5s+DcQPHSfN7n2fLW/1p7p1t/Ti9FMWEzVV82BeA7sc4H6U19VL5mRpKMX?= =?utf-8?q?b49Pe08q83h+dJmkeMJhXVSMpLEYsg1vQymUnWsr65LoxKRlW9CG/tq9kyO3g0wUT?= =?utf-8?q?QIp1pvyxhj1SasS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rE+Qo6v/trpeyNyjWWBO0PTeqlFlf2qWJRetoHj9Eg?= =?utf-8?q?je/Uu+vdnhsMaKSH5u213nJwcK7kBUovqcJp79FSWmKZfN07qAn1ciJmiAUmSYpNU?= =?utf-8?q?GitPmYt2hb29jFihruZDmhVg/1oDiyFu9dskaqcQV7btcCWvyTT2sKZI67G0Qwfl/?= =?utf-8?q?vryibX47LjcFEUGt5nnoZiA+8DJeN1I3Cv0Nt6dqnu8zeb/Y3aWJJzwKw1yKh+Poj?= =?utf-8?q?EoLokW5ASMbbOgmP9Wgr3yA4Fndg1eW4F4RaO0xq4JttDoA/fL1WGbnujW2AK0sBm?= =?utf-8?q?kJy1iw/k7YLA?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4162f87-3fb8-47ac-46fc-08dc2b133b5f X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2024 15:07:58.1245 (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: rVWdQjHLerfLpC6syIQHj5yLRSHccAbWVJrzjwM4jnWRtEsv5gOjLRQHhdvhQLF0k2JSnUQobqmYW8Mw96Cdsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_070806_635434_0CC49541 X-CRM114-Status: GOOD ( 16.21 ) 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: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, Grygorii Strashko , linux-kernel@vger.kernel.org, MD Danish Anwar , Andrew Davis , Josua Mayer , Krzysztof Kozlowski , Yazan Shhady , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds DT bindings and dts descriptions for SolidRun AM642 based SoM and Hummingboard EVB. Additionally a commit from downstream vendor kernel are included, enhancing support for pru based ethernet. I wasn't sure how to properly annotate it in commit description / signed-off area ...: 1. add description for "Industrial Ethernet Peripherals" (IEP) to am64 https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm64/boot/dts/ti/k3-am64-main.dtsi?h=ti-linux-6.1.y-cicd&id=5afb73d82a014b59462162d960b350b8c58e5ae6 IEP is already supported in-tree by a driver, and used in k3-am65-main.dtsi. Unfortunately dtbs_check reported many problems, I put some remarks: - 'mux-controller' does not match any of the regexes The expectation seems to be that a mux-controller at minimum has an address, something to put behind an @. However this is a gpio mux, not sure how to name it better. - unevaluated properties: interrupts, interrupt-parent sensors and flash yaml are missing interrupt descriptions, but these parts definitely have an interrupt signal in this solidrun board. - wrong names for pinctrl nodes Other TI DTSs consistently end with *-pins-default. Should a different naming convention be used? - cdns,phy-type required property inherited from k3-am64-main.dtsi there is a PHY_NONE value in dt-bindings/phy/phy.h, but not allowed in phy-cadence-torrent.yaml Signed-off-by: Josua Mayer --- Changes in v5: - abracon,abx80x.yaml: - reworded 'compatible' description - removed $ref to interrupts.yaml - nested example in fake i2c - changed maintainer to rtc list (reported by Conor Dooley ) - patch 4/5 dts: - re-added status properties for sdhci nodes k3-am64-main.dtsi has been changed in-tree since v1 such that sdhci nodes are explicitly status disabled now. - picked up reviewed-by (reported by Andrew Davis ) - Link to v4: https://lore.kernel.org/r/20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com Changes in v4: - abracon,abx80x.yaml: fixed dtc error in example irq reference - Link to v3: https://lore.kernel.org/r/20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com Changes in v3: - removed lots more status properties, double-checked against soc dtsi (reported by Krzysztof Kozlowski ) (reported by Andrew Davis ) - removed intentionally-disabled pcie node from dts - rewrote yaml bindings to use enum instead of anyof+const+description (reported by Krzysztof Kozlowski ) - abracon yaml - added missing maintainer - added diode type property type - added example (reported by Krzysztof Kozlowski ) - added reference to /schemas/interrupts.yaml# - use generic name for pru ethernet controller node (reported by Krzysztof Kozlowski ) - removed unnamed dmas from pru ethernet controller node - moved pcie/usb3 features to dtb overlays - Link to v2: https://lore.kernel.org/r/20240112-add-am64-som-v2-0-1385246c428c@solid-run.com Changes in v2: - reordered patchset to drop separate patch adding iep handle to som - moved dtbs_check warnings to cover letter - converted abracon abx80x rtc bindings to yaml - updated dts: - remove unnecessary status properties - changed non-generic node names - use color property for led descriptions, they have no default function on evaluation board - drop earlycon bootargs from chosen node (reported by Krzysztof Kozlowski ) - converted charger node to comment, part not assembled, has no bindings - picked up acked-by on board bindings patch - Link to v1: https://lore.kernel.org/r/20240103-add-am64-som-v1-0-dda1f9227aef@solid-run.com --- Josua Mayer (4): dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T dt-bindings: rtc: abx80x: convert to yaml arm64: dts: add description for solidrun am642 som and evaluation board arm64: dts: ti: hummingboard-t: add overlays for m.2 pci-e and usb-3 Suman Anna (1): arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Documentation/devicetree/bindings/arm/ti/k3.yaml | 7 + .../devicetree/bindings/rtc/abracon,abx80x.txt | 31 -- .../devicetree/bindings/rtc/abracon,abx80x.yaml | 79 +++ arch/arm64/boot/dts/ti/Makefile | 7 + arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 + .../boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso | 45 ++ .../boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso | 44 ++ arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 292 ++++++++++ arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 594 +++++++++++++++++++++ 9 files changed, 1092 insertions(+), 31 deletions(-) --- base-commit: 798d1ee1675be84d5c7eb639480aab33f2c8791e change-id: 20240101-add-am64-som-51a1ca47edf3 Sincerely,