From patchwork Sun Feb 11 15:07:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 199468 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1968055dyd; Sun, 11 Feb 2024 07:08:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkgTLDcAlaBHBQJWg2BHKT/zXBLRmxXu863UTcTRYlnmulvctKP2s1ZVxU7xm50OgoyfJV X-Received: by 2002:ac8:5787:0:b0:42c:3d01:e922 with SMTP id v7-20020ac85787000000b0042c3d01e922mr6764164qta.68.1707664130455; Sun, 11 Feb 2024 07:08:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlzQW3hh7wxohaHr97dy6cgDbsh3u5HhdW+up81/NvhNOAcEh8XXrumDl+yAt+ltFl5uH3XXRp/J/7FGGzsxVmy1a0AQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u3-20020a05622a010300b0042c4b18bb07si6354784qtw.440.2024.02.11.07.08.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 07:08:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60816-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=JAdL1bIK; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-60816-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60816-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=solid-run.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3386C1C20D3A for ; Sun, 11 Feb 2024 15:08:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CF865CDC3; Sun, 11 Feb 2024 15:08:07 +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="JAdL1bIK" Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2109.outbound.protection.outlook.com [40.107.247.109]) (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 D3FA75B5C5; Sun, 11 Feb 2024 15:08:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.109 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664083; cv=fail; b=j/Ly6fC8Da8tLGiLHb4r9yIwAfFoRswOX4lBGzCJByjbLyLdP1binvRB14UY7viGaBNbJMU4ojfKPeApJty9oh6CoG9bQf/4ZEVBEUwUZetKpGt4bjn+UC5b9j9UBGHdXKg/O0t057j887S3ArnG4aXg+myppyrjjpiJbI3New0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664083; c=relaxed/simple; bh=/AFhwce9jy00uSMBqBN1uM60wnY3CtRqra+U5vm2Qik=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=uQ+vARhDHAxcyGByu5uswhNOGLHhVc9FPRkIvLEIVKNtT2zu4vwwkJjFc00CIAVLxfE/NA9M3gWjYUz6RZNMzNPmO0ExzMkE5ExlBs5gCbAW9Ei7Z9bFKcGjL/LJ9TBPXRD3hv0gHKpdx18Zw0w5vf4RgPuus1jEGrorA2HPKcw= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=solid-run.com; spf=pass smtp.mailfrom=solid-run.com; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b=JAdL1bIK; arc=fail smtp.client-ip=40.107.247.109 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (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=kDVySquCHdk3av/l7FD4cBYEhi/fsCAr/gU5TFFnHXqOwLwK4ktjxlw/MZYJNda9HuneGkKARDEHpy2E5HwrMobwUbMvbL8Y5c0slJ6RVtfgClEsnTqjBB9l2+4KCNnhoRjNgIA23rMrGSWe9CWXUkw1ptmnSkcoF5105pll14QKIG6H7qyaYYK8q6O+3RhgXNeITo9lE/jttz5kkLQHECuse/aXkhktXWE/1IUL66Mv5mRpXojWQa/B+aX+KaFnz+3GepMgM8oMRyYj8W2U7R5XH4UxJTmCSFKpdDGssESoYfVaDpdwomS/9uM9C5wQh2Z3wWhltoNVBGcZcuZA/Q== 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=5xhAhy9Ne3mpZiRcpteoPWTmLUCCCBx9qs/C00AWeT8=; b=FXtXRgzXniMvNtxKwYrjsmNF53NL3zlSulBOL9POul0kZmEFyKuCP6U5SG4F1IXi33GPSov0IelBqIT12sjIhgH/o79lIRAeSPOGYKj3dTtguEIxAUNP5wDsV1HBNMHNHQiqnL+zwtGsAEKyiUxJ0YtpoFh/u2oXhrfX3lJsgmb30Ypx3V3MyL8TkivjHI0aZ2ANB8+TrbDhtrgYgXTsRdGeHq+VH1Rr3kSk7g6Q6S0ArM+S//PNs1+CfSgLK+4hJGPO/MuOY+Wz7jRHMWBxqOH2bwxmVWuIpFJVerukLQXlDto0aKrdfKrq5MxfKMi3jrDbD/NZ1XygiTkZk3zSpg== 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=5xhAhy9Ne3mpZiRcpteoPWTmLUCCCBx9qs/C00AWeT8=; b=JAdL1bIK1YMun6EZk7tnRRIHJ7ISI80UltOmoZqGhZ0AyVgB3n8cPXnO2XZRLdViteuyts3+mkqRaFe/J25UKMmicHFWrSfDyQqryF+WWl/D1kCId9dfFUWuDVox+8YVegSpm3cn1AjM437s0GnB659dpPRDATRtENhcCC0l1hc= 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 Date: Sun, 11 Feb 2024 16:07:56 +0100 Subject: [PATCH v5 1/5] dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T Message-Id: <20240211-add-am64-som-v5-1-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer , Krzysztof Kozlowski 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) 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: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: b12b61d5-c78d-4dec-333d-08dc2b133bba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AaXS4XAM4rv3roNS/onONJitgfXdKIVoJshkBm1G51CsELdfYLA9f56dZmIvws7Aq5o6ZZIYj2401OWV4eEsY+1kai0zvtCmQ5Q9pzHpDj1cGL32drbX6ZvQjjon/Hueu61kC5ax1vkM90ZgoU4cs6IT0+axCZ1+g36LO5GztqYuWrt79anvaBws+auzimk3rC8br/Ctxx4jLXHXu90NqG0/wFDASTdqDci8H4DT3ctbS+o4+AI2/flLXpcSArQufAjhc+WUZcJCo7dgH8hUqiG+hfjspUTOaZpcxE0btX8gfkhaDXn/cgJXM0GJPFd0/kx2TRJHLi8yfEhCOCBjbXOmSPlCpMW9RR+UDlMKg/q4Uug1uO/Kfj9j1M5NRzljZ+43wmmm4mBVgJ+K73kftP7UFLvydjbBrsRVB+HLb6PbpK0WfYFcRlmLJtt9kxPrmLSHGN399lusn63vFoY5J06pXW1Gna/9PXw6ojZlhmXSqOkLtocJA+SnhIwUQLJya8bLJ+YObO3ZK/34FZhxL6B+aps7gUojSzfBUj4Uor8s+ySmpiB4z5LrINx9ZjihhrGee1vBPfZvnVxalVsU+fsUC6BGtoWcEj8zKGFlufFWasLN1/rZGhUQhgRPc6ng 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)(64100799003)(451199024)(186009)(1800799012)(41300700001)(2616005)(316002)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(38100700002)(110136005)(26005)(5660300002)(2906002)(4744005)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8aVAM3lgd/7+kl6h5KIPhQ+h2pd5?= =?utf-8?q?ih4/35SHwYdV6gD1HQVLNh7cXtbKOLxbMnwlNsIaxJFvlINYmDtMPt5x8G55G7oz3?= =?utf-8?q?odJgd1WBJHJA3fWQI0u8N54S2lNM1IIJybjJ+svq7uVGvGcAYl8bTYXTRDPPts/pb?= =?utf-8?q?e0LdZe4h/FoePOHQLKcPn8gsozs9x/rU0TKUJlJkMsnk62d74ChgqJv4GK4PWyRFq?= =?utf-8?q?RzFWQ/dn25fARthWezPQTGeextOJTyePrlQrVIC8v1q3qbyrUhLASXezbQUj7wu/b?= =?utf-8?q?JPPKodEYwTiaFeiVu/gQ1LSHu17K8V0smL7VDuCcYtcEj6c/vw0APL129/w3hd9fi?= =?utf-8?q?v/9KPHjumwMTqxKqNbnUX0ekj1+asdZ4JsmBLrKdb3UHFc+OmI7Gc5I/AUgIAG5cC?= =?utf-8?q?7szBNErsUVbx1JZa05XyhyOpGpdVR+z+8V5GlDfWh1ezVBQUjmSwYJjPQeRT0oSnx?= =?utf-8?q?fa20ZQ5VOsGjyyXt0RRUXYnhcEK3AAMi/+slZRPZk6DCD0PUcO7e7N7ULaP6X46Zk?= =?utf-8?q?s+GdHBfO2Rou/e8uebgjglvls8LNPSoZ3DsvgmWUdPDh25QAdhyFv3NHzabQF2Hsm?= =?utf-8?q?A6YfZE4hp7RMZm3049+VizVEJ+8KpP+R7+3eX2/3KUtAARtU7dv1ZA5BnBf0ZPoHV?= =?utf-8?q?6nG7/wR1A+tEzeGvj3v1O7730gTGKuMwS5sV9btThjXd6Inc9Jn4sYwfhO/z2ejOu?= =?utf-8?q?0mkFgcpt5enXaLWH+68K91SZXyM4DLeQ3ek0aQ4q5qKyU7xBkV/X5sS8PRTTtSUPy?= =?utf-8?q?DRfQqzbqNCF0KLjtiWZd44718CXA1bUr0mQQi649O6mz5ewN51ZyNP/a7QGobq5D2?= =?utf-8?q?HgNZer67L/OqPDA3wCExDYvZqIvZlt+Gb9bRiKKgOv7rE2xExJm/C8h+Hbkqo6MQR?= =?utf-8?q?cMsHqPNjTcSE+BhbsoSWaee1fKJ6zef+n3pKAYohkjQhng1USIKjTZT4gQR/5P07f?= =?utf-8?q?4HQrrAjNOggD+bOlPfd/gC9+Tico8WBMQHgM7pn52gHfdZx4/xkvEOe64RyyGs4i2?= =?utf-8?q?Vdl1M+84m55oWAWoTSLp0Hdg1oa/O4Y9cCy12XxiDrHVYfGg/LX/SDyDb6UlYuHKx?= =?utf-8?q?He88sKadDnS8Yu62mE1bfsYVOcFt7geeaLWeM67VdXU1eZNquotlCuUf6SvUh6gSn?= =?utf-8?q?PFeehg0l7PTV4Ufj8ePYRY85i8SqJRO4KiyQ7AwVswJr7KIMQwjsUsAWdNNZPgaos?= =?utf-8?q?jLceHYbkjEt3LUebQ+asKs+UM5hb0nwSf7QqGa8frAKHIsznpjUEVdRNPUY8etFnn?= =?utf-8?q?1hlaiuugR0miAjVgQ3FvSQ0e3uXacrj+3BHopwCXoWSDKQDoEzNbXxSUebXwHedY/?= =?utf-8?q?MwFGRkH/fJu9EXp9h/LUgGart1p3bLDWePJyBSsh733ZJtrCVhmR2fVp3B78MoQgn?= =?utf-8?q?99cB4u66WTg9s8PAtFhps2mRlrFsj1OY75jB0eqILiv3sDo6sNiKgYvk2RTWqhrHW?= =?utf-8?q?LBnXBSeZX5uJNqkDWSf6/xsss0pSWGivRd18JBHDHwaqK/CYzI34AHKA987hD5BFm?= =?utf-8?q?QPQnwA09Xu7f?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: b12b61d5-c78d-4dec-333d-08dc2b133bba 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.6848 (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: dQ5jIOe6vzEkSdOHA5BDxXU9bm2jrt5yLAUADe/jImNLIBYsSmtEWcdVbA/S6gjMJB6Ebr77tBBdcjhjnqIL3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790615623363226207 X-GMAIL-MSGID: 1790615623363226207 Add bindings for SolidRun AM642 HummingBoard-T Board, which is the evaluation board for SolidRun AM642 SoM. Signed-off-by: Josua Mayer Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/ti/k3.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml index 03d2a0d79fb0..b9f2a8d36874 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -85,6 +85,13 @@ properties: - const: tq,am642-tqma6442l - const: ti,am642 + - description: K3 AM642 SoC SolidRun SoM based boards + items: + - enum: + - solidrun,am642-hummingboard-t + - const: solidrun,am642-sr-som + - const: ti,am642 + - description: K3 AM654 SoC items: - enum: From patchwork Sun Feb 11 15:07:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 199472 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1969297dyd; Sun, 11 Feb 2024 07:11:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUxMaIe2GV8QGiMyuWrxW08nVIq9rYuT2mk0EPEeSTmkwIvte/amEBUwzWpXugLlDGdZuKZLXeoEnbdulE7oWKlNHImuQ== X-Google-Smtp-Source: AGHT+IFDGc4Gt1CiWdYfQ2KyPVmX68L8KIYfVLGtEQcqbqj5gHW2zuy8bG9yrMnJBF6wQakMh/y9 X-Received: by 2002:a17:903:230d:b0:1d9:b21f:539e with SMTP id d13-20020a170903230d00b001d9b21f539emr3865953plh.59.1707664266878; Sun, 11 Feb 2024 07:11:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVgHeDPkFdbs7kGdkgtGBxDkEAwWHHUTgYhxgedlPteoXwd0NpvZo/LPSLSBC2Hhv3xVHEWFqhWwB9gsK+3WVZwuoHQmg== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id jj1-20020a170903048100b001d9a609ddb3si4848783plb.37.2024.02.11.07.11.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 07:11:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60818-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=Q3WkUBp+; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-60818-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60818-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=solid-run.com 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 14A25B21586 for ; Sun, 11 Feb 2024 15:09:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E97B5D747; Sun, 11 Feb 2024 15:08:11 +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="Q3WkUBp+" Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2122.outbound.protection.outlook.com [40.107.15.122]) (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 60EC05B699; Sun, 11 Feb 2024 15:08:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.15.122 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664086; cv=fail; b=sHElGBbvmVkOtuHfmGWV8p6QEz92Eq59D297WN2CtzM0b1Ho9y5h80eSLaO7tgpDURcJEkuoSjst55L7knoEAZa7GnXW+lpGWI61sKT3l2bjjWPuhGBnIf8HEJ/ne/Wngv8Il/4cMyaHIjVkRJ4joS4gERsGA1iGvDhpCUHYfK0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664086; c=relaxed/simple; bh=2bl0qYTONqwDfhtFEslbYUA39JS0IJW59CSiou/PNiw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=olzDgV7VZxR+jBRmso0Wj5qZE+zMT3UrFWKwy8ENHg9L76uip5iQ2rA9HOO3nqU7b0KK+0UkGLAfVEQZB+bxu+GwzLMT6eLxfgVYq3hlkb5njSg8041BtJgRjGnC95FRZhGES1qP+CS2PXMFOrT2ybxSDG+8FoAg4QT22F5oWr8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=solid-run.com; spf=pass smtp.mailfrom=solid-run.com; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b=Q3WkUBp+; arc=fail smtp.client-ip=40.107.15.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (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=fuVu/IYEN0q7+tIRwaCxxY8olRV/Wui7Fo0FPpceHYgeBayPg1NUsNLXMylzumQLaiO/m0uQsSdLq8KdIRtDatBc1QRYLvd/komaPOPF7fsW8+l3OgRmepQ1yZECbdelQSpwXWC+QmKTvhKWXQ1zTsLC3g88NWrV4+VZUv8qFVMWz0suqYQZh2KdAV9SlugTe/xp+YfJ2+SyspYTEvfk1z7sXSmTWAS7zzDYgtbDRnQvOUiNXFJsG1eis0xZzYCL9JMXyrtwBEcaTdTqLJEUjsgZ5DiQIAfXDgegos8qiTDces9AzjeBvlPW4dBau0Ic0GZ4KAxly/2/fiQIeKhS8g== 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=l0XoBzrV9zt+MatjMdVkn4QnoLKpYCLDHZz8+OlQ+a8=; b=AksPl0dKzgrp8JoA9sgUbl1V7tZV1Ot0zCRJHLciMhGzimX6wMaEHPX/iPJeJquzG+CgZI6cRgqvKZ9ucZf3Y1xMZpaIQ8bbmp8cNnNg0ZyN8VwA3hXYgFOJhGJ1P1/l3CQG/p74hPY51aNDD4z184RIWVGL2LpqfZJ6EZEgkBxWy5vWUUHc169dsSi7G5Jl/fELpf+OZlV2vFYi4ksPOEKmHGW27li0HjL90rfc/ooAmSx+c0th8NkQXGF6D/kFIWs+KY5W02N9sfzgAQF0muWiBqqFCaWfzyp03cceDG5OwHpnFpScZl0xTVoN2CE88dg+YMmdG4v3bcJYDMeuUA== 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=l0XoBzrV9zt+MatjMdVkn4QnoLKpYCLDHZz8+OlQ+a8=; b=Q3WkUBp+bAk0NwtyHdhVMHTCgPM+RR93UPjcrv0SbEICVGxZJHe++wbZTbvWLsz5PUoXzWyBybuXQD8TFjYvm094iYxTgxMcCX3qXGMmFiSexzKq7iYgkDLsUDyo+QSjcmljjOSqot0uDUK1v2GBxhDH7SbaSmFZU0eVbFlLJjM= 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:59 +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:59 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:07:57 +0100 Subject: [PATCH v5 2/5] dt-bindings: rtc: abx80x: convert to yaml Message-Id: <20240211-add-am64-som-v5-2-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer 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) 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: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: d41f8e8d-5df7-46fe-3fcf-08dc2b133bff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d3HAJPa6XTFFjvtl5JvuyQHxkmB60d9NGg4DVpg81X3qri9sFCOKU+jR7cnzLrxQqqabEZHUf14x0iYALWMGl9hUne0CynzoWlhlYQkwS/eU3iRlrBAq+86PIW/CTieKiTi5i9w+j4ZNxfgSDasta9ycPSZ5XfUv9RS4yv4+ERWD3a6OsWjOxPYoCvqunorHtl4kMNLu187uJmCZyXySie/AEGfO/8d+0yZUUdRr9+mT8cMtIlPKZaAXcMCy1I0tp4fzqJVWRULMeNwFuZdg/OPuZ0wsI4pZDYtXmm7sBOsdUTMb9XVK3LsUEOqTM3XSOjYJfyQk+39E+4bM0X6wcY9QGJuM1R0/v2c1KCCR0JRAEgIt2J5HR5vF8J76yjLEAG9MlBMwres/h2E7SJdVwmVp32tIcPlU1H7OJ8ma5QGfHn3WER48YLFfKox9evu5deQT619M9fajtZkfdRMxJKbIzwPSUGYLsqoCoo0E6MWulas6gSBhg7be6NYPKmob5xisy7nOL2DkMQYJ+S3cufNaB0imW89B5nJxJcKAoJTnpMInsrft2sJX2hbkMTuP3CXoz5xRteIIdQCW4ILBScp4M7pylLRINn2BslLgWOw= 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)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(966005)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(107886003)(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?sBC3xOB8Tozjyz4sWB/x8uMpl9Ss?= =?utf-8?q?Zw2XCWHj3EujyvEtpwt8g+VxT5aHNjRBQ/PQd6D5XTRPW4GG+us+aUCKrOEIcUECF?= =?utf-8?q?0bKULb5XgoquHeVBo8qV+0OvD4tyoqxdrbFgNdH9K0qo7mRcwZHLbNhpmkcBnU03Q?= =?utf-8?q?1yotjuHMwluLb+9/6sXng/Wgdiu87jzioNqTdlUxGFj8C4pmO4WLLk0+hhlNd+RED?= =?utf-8?q?8i9X+ghC3pS61uCAHTU9SYDTWWUDjSSz5FIPguFACqFJ1Fw7tI1Zx1WRJBrzc9ncf?= =?utf-8?q?EanWtwHO4zAT3mRnDV/zu/zI+P29vQjPxDpNnY+q44sZrFB5m97pIn3THq+GMdmeJ?= =?utf-8?q?kGyAAbNO+YrEFYePT3pTrXKYyBX0NfRvfYmeZZe5QBfDnRvOTRb0eh+jWOkjFD2tS?= =?utf-8?q?aY4GMXtx88eLG0KvEpQArM+NdfI1aKPp7oMOgDz5Vnjq7YtROxJRt73ZVWHhQjtnJ?= =?utf-8?q?HpV0y3CX3FgstpbVnyEYlPKSvyAPw8hA54b9vl3IVrX+EUVcEX1Yw6vLX33xOh8V4?= =?utf-8?q?3eZoFesAH/8yK35yAa2YS4E8VO0QKosW2hzdXxU3vO0pTQXb9WaXD7wtYhwfrpgXC?= =?utf-8?q?UIc8YoU2tlwPEDvmamC2CXNtCfkTUyYXWqVGk/ygZ/NXAFRRVz75740fS9xcjPhOG?= =?utf-8?q?qOCp8Ys8YkXXPGWGVSvlVeJ2sdCZqVt4xTcBUk60yt1AYJh3mpKgFLBp7jTnxOmRe?= =?utf-8?q?J6ImFCv+WQMdZgPOoP1SHhnZK1dE5lOPk0Te7rIVrVyG3rsHhx0xiyde+HknxH942?= =?utf-8?q?D9bY2GXF0epRNhfkquuPaMHImxApXDdQR6ncUjc0AIGFWk0Rfqb2b0OYQ8GX/E3Zy?= =?utf-8?q?Pfv+LBKMaY+ARGQEN7Xkz1CbxqJfzIXL7ZbsZUG4svu6JBeUS/qMp3bk/SJTqP2d0?= =?utf-8?q?bLBT9Vj9bfZ2OkF272vU9Ii6z20VRYqkdp8kkgi2CoNjwBoT0+JYp7BZch8h+S1gl?= =?utf-8?q?XOVjD2+6xsJf+G93q2v1v+Yi0or+NJtTrwVaHz41eRW9wd5mBUpyLXNjrj164L73s?= =?utf-8?q?6s6ht95dpi7y44/tTFkbgUwyPDzpeZu3nJJV+Gaki3/pHtUxdOJVL/GDZD9sYRR/A?= =?utf-8?q?z1LDn3OMtectZpKX1fvdGoGR5kXAqiovVdZ2TT2huuvY5do0BMKiljmDFTU9epdUu?= =?utf-8?q?WOkyFPRKE2p2Qr0uf5KDT0Osd62mln4IvtbL4YOE1wJMgkN6rZCvjG8NXwzWj9rES?= =?utf-8?q?SSXnVtAHQsToKPSwLAajQMkrQ/6M3FkdMTU8BDGd5/1aBDOq1LGlueMNegk6CX/6h?= =?utf-8?q?kZubyIOkwOyh5JeISBhYH+9sC97MZHuXM5HzwLuU7H7jZTqPbmtjQ2GDQ0QKhgKkH?= =?utf-8?q?R7MWAvPZKH0kGiu5CyaU3jxOrfMSZtL+M4QNkUwRqUdnEppC5VC0W0Sl9VZlrmTFw?= =?utf-8?q?YDqLWq0jVYiwdGBM2GZQur/Pfslv7t7A3xyxvwWStnbWJpZJH8rqoljv6yHwral9O?= =?utf-8?q?0jU5Oqkrqo8d7rmwbJdnDjW1skhtOXXB2OkIIvDnuLne+f3r+Le4rEU8bJDPbwmn0?= =?utf-8?q?wlVj2FK1Ukvw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: d41f8e8d-5df7-46fe-3fcf-08dc2b133bff 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:59.1750 (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: sS2ujjDwqnavioRYtCjV8bWmDFVpChALwkbRmtjZKDgHK5/O4YLrO744Ku0HDE4KZkVL8SEdCc1MuAIeHzpuYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790615766246369771 X-GMAIL-MSGID: 1790615766246369771 Convert the abracon abx80x rtc text bindings to dt-schema format. In addition to the text description reference generic interrupts properties and add an example. Signed-off-by: Josua Mayer Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/rtc/abracon,abx80x.txt | 31 --------- .../devicetree/bindings/rtc/abracon,abx80x.yaml | 79 ++++++++++++++++++++++ 2 files changed, 79 insertions(+), 31 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt deleted file mode 100644 index 2405e35a1bc0..000000000000 --- a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt +++ /dev/null @@ -1,31 +0,0 @@ -Abracon ABX80X I2C ultra low power RTC/Alarm chip - -The Abracon ABX80X family consist of the ab0801, ab0803, ab0804, ab0805, ab1801, -ab1803, ab1804 and ab1805. The ab0805 is the superset of ab080x and the ab1805 -is the superset of ab180x. - -Required properties: - - - "compatible": should one of: - "abracon,abx80x" - "abracon,ab0801" - "abracon,ab0803" - "abracon,ab0804" - "abracon,ab0805" - "abracon,ab1801" - "abracon,ab1803" - "abracon,ab1804" - "abracon,ab1805" - "microcrystal,rv1805" - Using "abracon,abx80x" will enable chip autodetection. - - "reg": I2C bus address of the device - -Optional properties: - -The abx804 and abx805 have a trickle charger that is able to charge the -connected battery or supercap. Both the following properties have to be defined -and valid to enable charging: - - - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V) - - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output - resistor, the other values are in kOhm. diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml new file mode 100644 index 000000000000..58dbbca27deb --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/abracon,abx80x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Abracon ABX80X I2C ultra low power RTC/Alarm chip + +maintainers: + - linux-rtc@vger.kernel.org + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + description: + The wildcard 'abracon,abx80x' may be used to support a mix + of different abracon rtc`s. In this case the driver + must perform auto-detection from ID register. + enum: + - abracon,abx80x + - abracon,ab0801 + - abracon,ab0803 + - abracon,ab0804 + - abracon,ab0805 + - abracon,ab1801 + - abracon,ab1803 + - abracon,ab1804 + - abracon,ab1805 + - microcrystal,rv1805 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + abracon,tc-diode: + description: + Trickle-charge diode type. + Required to enable charging backup battery. + + Supported are 'standard' diodes with a 0.6V drop + and 'schottky' diodes with a 0.3V drop. + $ref: /schemas/types.yaml#/definitions/string + enum: + - standard + - schottky + + abracon,tc-resistor: + description: + Trickle-charge resistor value in kOhm. + Required to enable charging backup battery. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 3, 6, 11] + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + abracon,tc-diode = "schottky"; + abracon,tc-resistor = <3>; + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; + }; + }; From patchwork Sun Feb 11 15:07:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 199469 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1968598dyd; Sun, 11 Feb 2024 07:09:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzeufNBQdJBI5CkOZE+BRI5T7tnuLQ1cKCxPcyfq7aDCfUKgprbuD2a37g2K0vc0fX5bVppBZMfj8npOa1MXuNlbG75A== X-Google-Smtp-Source: AGHT+IG/rE8qdyEQvVnay2+UXCxEX7GlyNny8k6+B6IVDOrXnT1CHHwsL+CosHQObfUspxU94N2T X-Received: by 2002:a17:906:35cf:b0:a3c:1638:b069 with SMTP id p15-20020a17090635cf00b00a3c1638b069mr3106541ejb.75.1707664187539; Sun, 11 Feb 2024 07:09:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXqsFRfk0xMp0kjhDClZqzQH3B1zWq4mgwf7K3kkiiAl/nTJjoiuzOojB5Tr0jWlOGdwjuTqxIgeDyD/FQFgqbyUAoNnw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o26-20020a1709062e9a00b00a3c8050ebe1si536190eji.310.2024.02.11.07.09.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 07:09:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60819-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=EClqjaqM; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-60819-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60819-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=solid-run.com 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 EDE5F1F210D1 for ; Sun, 11 Feb 2024 15:09:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEF8D5D75B; Sun, 11 Feb 2024 15:08:11 +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="EClqjaqM" Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2109.outbound.protection.outlook.com [40.107.247.109]) (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 13AE85C60A; Sun, 11 Feb 2024 15:08:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.109 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664087; cv=fail; b=ABXggl4gGPqMYSBJZQ+p4X21al8cLx+qb0rVKp2o0lDtbH8AO7JexwPg8xY+eX/aNhEYAXTd5+un4E259R3A6wmF8ylDqAFQw8STae1PoPR+plWT/KwXI+IgTKjkngWBILTgyMz7Q8hfd82QOr8+HAst7qDH6/29p29AKBRZsB8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664087; c=relaxed/simple; bh=hMIKYwARHFl28aOlzWwWn5CF0EjqFkk4UQThGPqCf1Q=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=omvvZWTjKH1EEu5At7bF9J+mBd4OeCm6A2efCUQrAuaPC7UE9CbaAkBw3avmBBOfO0wxBUktRPpxCMyg7ovyT91kvMfEt871fGgQ/76mA7mfD7bO8sVcktjKllH6BeDhfSr0pwS7wHBUUjJfif34zBQruVRmZ00LrXFeTPKNTwQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=solid-run.com; spf=pass smtp.mailfrom=solid-run.com; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b=EClqjaqM; arc=fail smtp.client-ip=40.107.247.109 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (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=Cm39Thu1zfY4vkTY3+gPddsOb1xw7POucZ/BiiE4QfHO/Rh932AjT3Se1rPpU9UuHmfUEli5G/7Q4R1xIeuM+yJyisC6pk1iahWqwb81MbL0guGnPToj20NdC4CikCExw/ShiRKlqPF1cdB0sDL6qiabWMwiXR4I2eTboMQq8HMeth2FkjgAONeBhvSUipM4bCAQxKtDu7skJitU9lO3nzPnRNRyln9I9dJuhYiuq6FBecojNPKHmZxKgNmzzXYtHo0vwIXaJW6qR1ZyA/+E7vUqpM0fe9B0l6IXY4ifKKFuLAF5VZa/m2K+gPgQq45VsFXOWxmzQaruHC6b8OFShQ== 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=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=VN7VbaotF6uN6QuxMSFkKtLGuIgZpKjxGS69jm0tZ3XH0QNbiYVYkmO2Cj4LwaSxOYi9VzyFyjtXnV9TG1eRoW+m0X1RnIXeLwnrQaddOWFTsYOlXWYFLy7g9XM/o+1XppzDcFBxuGYnNlz7inZ2mGCfDJG4TUOlOCFlJcDgLiNhC4Y1hrPbBW64E2uVjTG2DSL+IIifA3rpVD0zFGLCJq4t8xGfUR2RQRtOlExE1Q+h/0T7Khd5G5VKhV2EMayFVAcKya24ckggrp11fsoPcDm0MR+vW7hexdw9OFNpP9nabJM0Xc1Bd53AKZKgRmwm1aGFKX8ezn85+8Tmz1SSMw== 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=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=EClqjaqMnIFQPfVKrgcloFisdPsCqdCCKBNt3at+drBSEbNLtNc8Far/y1LL8IAi0jdTA7XeZuz89L4092y0/QJrlGLuE9dIm4a1xcXJhAKPmnw9tVBSR8NHtSIqheSsBRj99dwIF3DRqyhSojPcJjgE/OrUrEBmv+Pn5YUS0Ig= 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:59 +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:59 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:07:58 +0100 Subject: [PATCH v5 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240211-add-am64-som-v5-3-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer , Suman Anna , Grygorii Strashko , MD Danish Anwar 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) 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: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: a55ab056-88f7-4676-57ac-08dc2b133c58 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9KF5R6vqgUpmmXqJ4Y1ADF4ljBGiMAoSs/wTDaVlF/aTXM6G0/UGwbqiFD5x38kP4vib7a7QuwzyMngtF1Ypnr7/PlVT2+3lErn7ghC61pFo34o8mKZkEvaYN/LsYijOg+t4Ez9OzwptKLOzuZRpM/eGdzPftxdw4gVubMIHJRcku56HsbmOdorlgWkwY6hPLxyalo3KFA1VyLHXwDjmVc3XOvcIdXmvbF1hCd1nxzUW32zUFzlWkLbzI+UDDB/2Bq9elPbaeEFrvS3jF4meSgzrZRL+ANs+G5Nxl0pQtCF7ZiBvBJdgEh/Vh9TnuPQxkejdfO6pNyW+bke2QN1phQqPvWyqRWYhQWKcl4FmAhlCl8pwqZfmpNoa5piKRCasTKxJLCxfScKM1fNh7dH2lrypp02vcI60YUXgPcQJdpSVk8fF/0gtSwODt8XsgjCp97UXcxJC1t09+oa39R0MF/ahUEY5kSYAYfoTloY8TATaArCXTobPYW2LVpiqKeG0UX8NA27tjTE7TLbwAhkd4vZ0Cw9j6T4/gR2HSfXwU9nDUShUocu/OfERykLgU2CSlOMw6Ra1mg/N4yzmmSgip81fmtj7Nc5zSLxdcXrXJeIYNJlA/SG8inRTUYuS4K5N 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)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(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?ZsAXsmnHBccJqa1RkJu3psqGqEyX?= =?utf-8?q?r45H7GdLmOjKljBEcWOKp7BIFV+/5gg0z9Sai/J74ZYuZBUDbjZzQZ4I2h0LuTQ2r?= =?utf-8?q?JZk+1fYb2W3zEx9dBMZVNup6im3rt7hqk0zwVuIUdGIh3EaGuKTKXtDAKSrsJi/S5?= =?utf-8?q?F/MXSfb0wE1q4Pz49gIjajyYdy9r4G0zyAVhEZ/h0dQZC6zCU1cfkSPEugjh7ssJd?= =?utf-8?q?PeEuBM7oFjHrVoNFAr+njIE2hqI106VZhHgk6tl1gRKpKgESEX/Li/7boIUGX0+CS?= =?utf-8?q?CqKaZzg6oZjptIy88yMz/qTW6ydwaQFDpwh3Y3Oe3WopfPR2Gswaf2H5Q7nxxHZJx?= =?utf-8?q?qUUEV8iCuhyCTM9bRTR0dJ6hjzJJP3Bl9CHwkZ4JYQ9P5GnTATi8Ft67L1TFStE7r?= =?utf-8?q?daNne5OBpEQgfY1qEKICDhsxrtLqF/EtpPUyCu4UpYnzt576n0HAlLrdXzC9Rhxbo?= =?utf-8?q?VUC94Lx8qTWOmHqf6YSpJRhFvEpTQLWbnZlpYJGveYFrTJMB1LCajEMEpjuFElNKx?= =?utf-8?q?VhT5iKBsVYFu9AlcmyFGBbHa00r/NHs7QbygsD+e+vGwmiYAQM+pNA1lq5lLZd0qH?= =?utf-8?q?WAEnE/VAWlArZiEOqBDLtu9AdG+Tvyn0lDVZsXmOJgNLT26PMexDHhw3E/F/aGmAP?= =?utf-8?q?2ifRu2QeIb3yrR6LBABsu6iKkZ9nBYAbVWD64Ql4wYR2w3nAhu6kHDsze0znckbJP?= =?utf-8?q?Acm7ssVX/SoPPFQcOFMwP8C4xGDghOa3u3vWPyYt0oPWQKBPBx9Wnp6J/BYrOq1la?= =?utf-8?q?j+VhVzHN6txSoEkUjhDn8eH6AVScaSEMfLSZtdHEXfI7pkaDvjBcZnpfcYq5k9ObV?= =?utf-8?q?pwJbm19vL4zjEnOsO20sICCf37rRVkyYojkLbtxAwWytDyalG5ZOvUrmJes1Fn5z1?= =?utf-8?q?WGG188X662fYmwwpZ0MakCNaiFU7Zd9EHaq6qXNEx5BDvyLqolmCFjswtF/FD3J52?= =?utf-8?q?l7BXXo9bxS1xSZ46Iu5sx5r+CTG9jCm8AZmWDlNFu/FcFLyV5eznS9olu/9fH/E/3?= =?utf-8?q?PAKiGYE03djtuHGJz1BEqWmPru8NNXA+HLE2cFZqFHl6uYcVb94IOW9A4qvgli9AR?= =?utf-8?q?v5OiY5JCO/KUBMg6qKIdanlq2gKqcbXBrA6gH4QZOu4dgz0oKQytMJEgQJgCnfxgb?= =?utf-8?q?MDATfBWFe7LfBwt8b7WpIqiGMK0rzChuvOmfSy5cARATxSxJZzSLKjD23gykHmo76?= =?utf-8?q?FxI/O4RSJ7QrbVFld7YwqFHNaX1lXWOfyUk4ALQ+RhT9T5WKDIRi76cVOP4DE6UXg?= =?utf-8?q?ZVcf8oThYcNNIofgM6PTH8XORtPwT72Y6MCwiZX9vHod/accmR2JxrtcUtwgkB+6h?= =?utf-8?q?DTMc8os1zm03Y/8yq0uLbD9V7TfD4DzqFa/O46t+PKkq59sbTvwrsFYV1B3FWMooU?= =?utf-8?q?aOElawN/RRBjG3vHb4saSwXPHlt1OW4GPmKDoQpKyK/bsQYKif1kJVRCwt8GL1iWL?= =?utf-8?q?VCxXYUSIEa8m5YTN3pWRN9QxEZDB9MNm79PS1wIzMNgxsxwwAxoko+MdLrGQGSsvn?= =?utf-8?q?wFsTFioOaWXw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: a55ab056-88f7-4676-57ac-08dc2b133c58 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:59.7418 (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: 1TT2RdfR8aOfxN37MA7o0cfdcZRLz44Nu/9yGuaYkp8GcV1IkP1pPwTXx8wUXsGx9cimF+bA5bUgx7sg5jzrpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790615683397004420 X-GMAIL-MSGID: 1790615683397004420 From: Suman Anna The ICSSG IP on AM64x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be derived from either of the IP instance's ICSSG_IEP_GCLK or from another internal ICSSG CORE_CLK mux. Add both the IEP nodes for both the ICSSG instances. The IEP clock is currently configured to be derived indirectly from the ICSSG_ICLK running at 250 MHz. Signed-off-by: Vignesh Raghavendra Signed-off-by: Grygorii Strashko Signed-off-by: Suman Anna Signed-off-by: MD Danish Anwar Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 0be642bc1b86..8130ee02a3d9 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1232,6 +1232,18 @@ icssg0_iepclk_mux: iepclk-mux@30 { }; }; + icssg0_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + + icssg0_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + icssg0_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>; @@ -1373,6 +1385,18 @@ icssg1_iepclk_mux: iepclk-mux@30 { }; }; + icssg1_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + + icssg1_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + icssg1_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>;