From patchwork Sat May 18 20:07:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667692 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 A032FC25B74 for ; Sat, 18 May 2024 20:07:51 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TP/7NbMh7ARvNgmKSSCa6jZgyi7CZUdjqmsU8I4RKM4=; b=1/5Q6u70ZCdUYa LeWYZvgwIEoFr4xeGplrs4H1ckxqw+rUR3k/AbxX0aIA0FAGWDuvrKf02Z/Ccu5MTLqCoYzvKhQ1n 37ZdaPD/Dmet67hHe6N9vLpYH1OfsxMZEjdyuT66MMxiSA+ryBKYpCR8ofBjm9V7q7ygwFsebEfhl HvoueQCGk1K/jXvIp+BZUh+umgw91JGj+5SMn0IJkvZg7Qhdcd40lusARdtwiXfBI9VY2coBS5boF TPRMI6IsR6E+7dno2KkIGhY29/54Puf9fx3mFS//sGLMCm29hpiKesbiJQSYo3X8gm9dPIBWC8B3v EyQrT/asY4aL8JVJqwoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QL8-0000000AgDy-2Swa; Sat, 18 May 2024 20:07:34 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QL4-0000000AgCL-3IjV for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 20:07:32 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a599a298990so630269166b.2 for ; Sat, 18 May 2024 13:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716062848; x=1716667648; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8r0qi9fgvEcatCTq39mBPtkcdMrmYE9qm2uVd5HyY2I=; b=TzaJSnv5XdhrhsMRMH+C3JYJhaQcOF0AkdXJIib7ZCEfAW1FjCZ2NELkGBFKtmi0Wp QmGYonBbEVp+H4VgHwDJNRwUjqBeAy2XtCuAdpBNgFzuJ24SerNfvb2G0yg38sEme3oZ hxBwdaE+MCGWEd/t7AtxtoXfdMEzyjFbkutHYv1P3ONi1zRVSMKycojqHXRTCpfpJWrH w56GeRpklpsBQSpt3HkAWfBvFmhNZJGQ+UY6LGySybz8gxsosquJ8eUHv/WriYzmNGuB 4MjyFOJMehGG6lYUsMjLO87jEi9slj3xIJd1wOg70VRlKsu10OSHU7z3GC5/3iwzzHvw AFWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716062848; x=1716667648; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8r0qi9fgvEcatCTq39mBPtkcdMrmYE9qm2uVd5HyY2I=; b=HgpxLMVryyt/4irtSYxFZLNK/JyyVHMfrdf8HNchIH6ZejciGELjRz0t0GTn15ZkKc 0X+7Ib+sU3fMHVa4Sq8QxIXavo2Lvtxm+WOCQS+q+gUVJcPvlgjk9fOt0bufXa5uf9RM vKOjTY39dsBIC1IqoEAPHDRH97mZWA5K9BnE+xtmWDFyIUIzTo5dqs4Q0zlXeS7jQGmQ TP9efgdTnZy7mRCec4pLac4o6GSJgNpIU7gcwxijusWaVJ9915nQUiL7s+Vb9MCOIYt7 z88+Nt8+BUFoEPK6tMGZo4rVBhO0U8vZR2hbvGQyNMERuzifvgfRE9QOFDmrHH7wu8NN JlJg== X-Forwarded-Encrypted: i=1; AJvYcCXnYq5IdXxf33l5+pmSGUPHHV0OE2ccAk1uHCy1JKrzn6R+ez/xJVaQzLDux8ZoL+z2PAdNLr8R2H88+KZkdddMxoWZEYrRiKpA4kUC5lbVVPJa+bo= X-Gm-Message-State: AOJu0Ywf3el0SvDzEfp82eI6SFKjb17TartqLuooCAzyDFruXwz3u4e+ +pMXN5bZDW1py6d0+n4FnOd7wu+eI6bLWHSYp5AmQfGZwMEOI3HHOiTl2sDAAcQ= X-Google-Smtp-Source: AGHT+IEHCODDjaPwTArsRQrvZfZuNbb65R3cbwTxJ2J4zkECbd7xfSOjCeOgjtDNlQG9Z6ddQ1GqvA== X-Received: by 2002:a17:906:f296:b0:a59:c833:d272 with SMTP id a640c23a62f3a-a5a2d5356eamr1746724966b.13.1716062848416; Sat, 18 May 2024 13:07:28 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b177desm1248364566b.207.2024.05.18.13.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:07:27 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 18 May 2024 22:07:16 +0200 Subject: [PATCH 1/5] dt-bindings: soc: ti: am62-system-controller: add AM62 syscon MIME-Version: 1.0 Message-Id: <20240518-dt-bindings-ti-soc-mfd-v1-1-b3952f104c9a@linaro.org> References: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> In-Reply-To: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Roger Quadros , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2432; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=15jEglbukv2ugS4zICaV+xZ4WeKIM9pGcVmSwBDonSE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSQp5hw6p1m7pWomaToge5nIi+Ug1KhR9WOA2h UZfcB8EesSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkkKeQAKCRDBN2bmhouD 183OD/0SrGw4HcmmjCKMp5SxWOAs4UO9Zbob0YY5sB/vdCccrQGo1JM9+dk3xfOSg2Nig4wGxPJ sYs7qxUt1FLNfHjp+d6W6dHvDLY4arH3NtRMG6eNZ2pSOUIVu72CV17ulvxMStmyujiYMURB7JY F4vqZOVZYZLP0sjd5s8ln8fjqPvLJeUyP7/+QpOfSYGc17KwSz7mgeqxi8gRCDS3Ffsb91edCLK UjTfgPzOYNyHt71iCB4aNoqv8jCq3ucZ0fdndynFuSQ8fy+cGh6Umidu2+f6nxKc8A2UgNUPQOt Fu1UXSYfZCdHwlKCR8EMbiPYNor+vus0DHXUu/Tm8DW6NTlL6//XVeRuQYtuzzRhvTiEcPH7GMa FS1qHlcqYYVQ4P3KQgCY14EKZJNoGpeOwFpKgk0xxF92DC17qoNE5WTzKmdFFbqUF9BSZ1l5Cuf z8cfKZPpILqsN3Aojl1rE2I22kh/Tpx50OAIR2PkGWItOiN9jGgg3oVd8WbJHoBAm5eINK28tif FelHsnjoc/4s78p0YmU+cqNEH5UXoZuceESe3owCejzKUjLhDOcN6SZZQboRz51KqJa7CEg6RLb ucp7sMl0oXfBdjfrlVS3NhBffRy+o4tu/2PUFPvCn3OsqcDt+7bXj0AfMflF6sKXLRQUsVHSElN 2AX6WUoWdUXWukQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_130730_870057_EB46AB58 X-CRM114-Status: GOOD ( 12.13 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add dedicated binding for AM62 and AM62A wakeup system controller registers, already used in the DTS to properly describe their children. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley --- .../bindings/soc/ti/ti,am62-system-controller.yaml | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml b/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml new file mode 100644 index 000000000000..d3bd67717999 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/ti,am62-system-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM62 System Controller Registers R/W + +maintainers: + - Kishon Vijay Abraham I + - Roger Quadros + +properties: + compatible: + items: + - enum: + - ti,am62-system-controller + - ti,am62a-system-controller + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + +patternProperties: + "^chipid@[0-9a-f]+$": + type: object + $ref: /schemas/hwinfo/ti,k3-socinfo.yaml# + + "^syscon@[0-9a-f]+$": + type: object + $ref: /schemas/mfd/syscon.yaml# + unevaluatedProperties: false + properties: + compatible: + items: + - const: ti,am62-usb-phy-ctrl + - const: syscon + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + +additionalProperties: false + +examples: + - | + syscon@43000000 { + compatible = "ti,am62-system-controller", "syscon", "simple-mfd"; + reg = <0x43000000 0x20000>; + bootph-all; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x43000000 0x20000>; + + chipid@14 { + compatible = "ti,am654-chipid"; + reg = <0x14 0x4>; + bootph-all; + }; + + syscon@4008 { + compatible = "ti,am62-usb-phy-ctrl", "syscon"; + reg = <0x4008 0x4>; + }; + }; From patchwork Sat May 18 20:07:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667693 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 310EAC25B77 for ; Sat, 18 May 2024 20:07:53 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=84TFagW88ouqwF5GhJW/wPa3hHY2DhAdGwFWX5hRsd8=; b=AY8z/srclHbHPP wcyaApjwLvuSamjLzJFiHq9NrgBhJ6ziLk5BdD/PacR4D1eiDC7Rbb1nbAV+MdL2uQjePBCJbEZs7 Wm4sOpHtcDuPd2YZ2qTKg8KNzv1tRvuPawpLZMsLB2mPBYuIWkPvvQYrBjqACB30Ts4BQDdMWJeok 6SFN5ixzWGNnJuFnd4o7c/sM4Ud7+UWEamoaDF+K3MXEqlXTzB6TXVsVXG/Z4AQMthYyWJDspDLyP KXc7HV/UB85cg6x+DPYRYS+VncgH8yMx9mxZfysOhsdsBlG7jGKP01jGhEeaD7VeptxQT03q1gXoM hkU4BFZy5zLJ8YJBImKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QLH-0000000AgHe-1AnO; Sat, 18 May 2024 20:07:43 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QL5-0000000AgCa-3KTU for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 20:07:33 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a59e4136010so627490866b.3 for ; Sat, 18 May 2024 13:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716062850; x=1716667650; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6xDeQYbTOua966mTWlRvTnMGl2MWuiH7mUfgvayy6q0=; b=UuvSvwKAe6pIMKQ4eSOBCBwMQ3oy4pW0D10+NU6d5LHzOF+lMREAw53VtFaFKgwK1h AqajpJNbfAvqqeJh3VoeOjWmeyATZBpB93hOtfpd2t0iuLS0mArc9eGZMlarCQLxqgb/ p3NW9vggR3wL8/xHBXqLiU3m9NuMLJim9rvzFNMgDca29X35g58wh0lpKDGlj1AVNXrs Wr/tPE6OKcGhUkjH6sls58OprmsWC+JOuDWq/tAchLEIPpEknlxc3+ITsfgVnVLjx1lS BSotC5QzFOxcNiJT7msH2FP3YyTeGdLwnqGLLM4H5G0695BVOTsx2X/K9AdoTLojsv1Q 5bAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716062850; x=1716667650; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6xDeQYbTOua966mTWlRvTnMGl2MWuiH7mUfgvayy6q0=; b=tU6gwZWy27h+CJVyBv2oslRQOFM0wRG4BzphoQRQkyWC4ZyqiBqPeOohIOfdT2bT+t 4/atAtnzDfW3jSbsgZ1ofp9HnLw+kxq6OWyC5cDcZr2Il5q1IkQxlAgJ5+vEjbqJPuOb gjfHsZzDi5ma1Uc3wLub0sQGw5jh2vC02/CrFJL/T3NzdHRop5n65wzgOzMJRDBLTKll fF5pRDH3MCqKnob5Lm3jClYEK5hjQYuBputzouyNEWIVrWyjiDjrwuz5BtJpHzCaM3U9 S/he3Id2e+lUoGQDbWGYlrS/N7ESWOy0ns+mDIwPCSfZEip2kPclmbHPaCvniXI7QjBu +SJA== X-Forwarded-Encrypted: i=1; AJvYcCUKBHqxCXi+wmWLFmLmd5sw69kdfyzdAkwU995MqpO/3cEjHnHx/ShFdNITUKBpU399iO2Rghjx77363XGAb/sqcrtEkK88oUNbTMsooX7uS5V8Oqc= X-Gm-Message-State: AOJu0YxlN+ZwW+d0LFHp1O3nWIr+5aHq124MSFizC4173ILEC7B8EKOq 5wq3UMlM70Fhl6fKV2Hh+k2xe/GPC9Ejxw2KbjfYh9Cb/T6+xhHmiksnUhjlcB0= X-Google-Smtp-Source: AGHT+IGP3YYwncGmZ6ZO0OQ7tAmCexIFvx3BWVJqm8GAj6rlhuHo5b1iWy1j9aicKdhwf4BH5Z5WoA== X-Received: by 2002:a17:906:80f:b0:a51:8d60:215a with SMTP id a640c23a62f3a-a5a2d572b0emr1699107366b.27.1716062849725; Sat, 18 May 2024 13:07:29 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b177desm1248364566b.207.2024.05.18.13.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:07:29 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 18 May 2024 22:07:17 +0200 Subject: [PATCH 2/5] dt-bindings: soc: ti: am645-system-controller: add AM654 syscon MIME-Version: 1.0 Message-Id: <20240518-dt-bindings-ti-soc-mfd-v1-2-b3952f104c9a@linaro.org> References: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> In-Reply-To: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Roger Quadros , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1998; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=5OgWoFMzJ88ehIRhaEnyRdZayCiH1JcQtzgaI8uAdAw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSQp6hZcB9yLDsHf823SRQAH008sMS+67j2KVV H77XDYicZKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkkKegAKCRDBN2bmhouD 10zeD/9LfamfgRtnC6WMvXQurEjIgWPBl+boP6wp5/+Bi86/bOs1ouo0nnu9pI+0ybWJzt/n+dw 6DuTheLT/WhJE4HO/wQ39p2be7U7RrC0PwKUZWKGARp3AVm6mxvSzYNSTGLiljHXCI/XKtr1NaU kvombFH62fl9t99RRR5xxGdHVhgKqZD62fLVLX+OAZLCok4PFWnz0ZP/cxcYo4f+ssiafMMFJSv 78CRo35JN3QsM63rLh6LNfSB2y/ietKEtVDHf7Abo7K4xt+j2QZT6mC/y8/a730Z9oBDZgo8khY RXbz2whmYmoEW5YC3awItJLykLea5rKmeP28o3IdcJwj50Ynhjz+59G/ufG37zWkx2QV8012Id0 VPFNTmVaySmgbXROF4tVokgy8dspivCogDgTfhCNZ19LdbwsyFp8jULLYwJGUGot66W8RS99tgq F3t2NdIVvAeJlo6EOfGkOG0cf8vZkQLRkXLkxihyJFUMEaVLSFNeemODnzWVQVOwn2gD6SCeN+3 Z9Eh9Wmc90Vb50TJAec8+XqUfHNjzJUJ4ddzCUTASzzoFqwvjXzEfTMUmOVLZIDAGl1EqJwTZ6Y vBg3+3iQsFRXkTfrL7Jlwvo9J8NS4R45r+PGo3g/alDHUb3/TOsN4dvsy1M5Wra0Ox95lwEKwpx JPR0dUw8uavXmgg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_130731_894329_75B7CE16 X-CRM114-Status: GOOD ( 12.03 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add dedicated binding for the AM654 MCU SCM system controller registers, already used in the DTS to properly describe its children. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley --- .../soc/ti/ti,am654-system-controller.yaml | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am654-system-controller.yaml b/Documentation/devicetree/bindings/soc/ti/ti,am654-system-controller.yaml new file mode 100644 index 000000000000..e79803e586ca --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/ti,am654-system-controller.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/ti,am654-system-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM654 System Controller Registers R/W + +maintainers: + - Kishon Vijay Abraham I + - Roger Quadros + +properties: + compatible: + items: + - enum: + - ti,am654-system-controller + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + +patternProperties: + "^phy@[0-9a-f]+$": + type: object + $ref: /schemas/phy/ti,phy-gmii-sel.yaml# + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + +additionalProperties: false + +examples: + - | + syscon@40f00000 { + compatible = "ti,am654-system-controller", "syscon", "simple-mfd"; + reg = <0x40f00000 0x20000>; + ranges = <0x0 0x40f00000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; + + phy@4040 { + compatible = "ti,am654-phy-gmii-sel"; + reg = <0x4040 0x4>; + #phy-cells = <1>; + }; + }; From patchwork Sat May 18 20:07:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667695 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 5FF17C25B77 for ; Sat, 18 May 2024 20:07:56 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Iw92fD+iUs8MEC6zT3NV83HORwppB6lOA58wImgFcZg=; b=tamLc1KQt1iRQb V+3RJ4MLL/sRGd4zMU9CoXjvmNjuPnNRnDkKELW8ZF2+uaG3Y20LO0JU03gNXYsHUKNZ3e9N0/qon ulGC8/PBjgYuqnsTo552h4XT1AiydWFEWKKTr+lk9tMKvgDO2l43tM9G0b1zX45QEZ7JNH6FM381a lU3zJ1+bb/rGyesd1bm8Dr+pdU1rH8E8Xyo1pBM9xcfjyN09YZJhi70y+RJoUYU5XlYWdoIvsjvDm /ksFUKqS+4nxqiJj4m61T1FLgarUNX4+fSYmXOO2849RkHulAtFNHTCUFO4sUPYv05qQhbHjdzwYG 0ieDlwpATfrlPTMac+Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QLI-0000000AgI4-11vE; Sat, 18 May 2024 20:07:44 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QL7-0000000AgCw-03Yo for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 20:07:34 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a59e4136010so627492266b.3 for ; Sat, 18 May 2024 13:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716062851; x=1716667651; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2sdvVZWnaE4EnDhA5lZ2CAO3oX+RY86dqjFRArO7Kb8=; b=eTfw/H4NciTVNUWiq6H+ljGwHkABp0TFgM2EreQq2tztoHFxNJHq3A5Qf338okVSwe EmlKUxrHnYxbD/Vteqww1f4Fb7p++traBud+AW+mSiAKh3QdcdPsf7cChtedgO2JL2fo dGPUmnpTCAcuq/FctywQtMjQje9HPq1TXHOcjxHgy4T/zC4UDVjK0jqmw7i8WbEIeGSh GpfAGa5A5sRmweFky8uoIVCkK58uSDBkqes6RYtfv3gdvG5hSqKN8+i03mLr3XJPr2xf xyfWwYvGDhqmTmuuIL7awFq8bQJAkou54X6g/yKVm+P/SnpOO1rtmr9zBD4rwJrmGfdQ jgFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716062851; x=1716667651; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2sdvVZWnaE4EnDhA5lZ2CAO3oX+RY86dqjFRArO7Kb8=; b=o7qyW2s2FznkLRv+Qd9SrP4MWXKLAgm0UN1OIJ66SCs5FkuUZ8I0kPToIDAEI+Ozxw E2xOe459IZzI+w6zyb0AVf6siJ977y+afBi4jHYvBnrmOv8Z718A4vFwY05bMEU4cd/l d/CB2ZIhRlawiUaib8FXjzChlexDX3A7einHGo7etQ2HW9j5XNzosHZ61S07qMVihvO9 bd1jiu9SIIIx8h8zisN7pGa8Wn3dKbWhLh5gCSayhC47R4+JsCI6pfXdpEwvRga5qNcQ i93N2OFNBd+PWEK210VsgOkCjAxNH59npDCYbeQh6YMl7nUcstgSljPQAVv2QGsHRl2B FZGQ== X-Forwarded-Encrypted: i=1; AJvYcCXncFnNf2NfV4NLus/+FHeEOzp76AbrNieGH9zSansSqhYHZltWyfNFUH9JpcHGOgZOljL7M7bOWzQQSGTAC1gwUlUmZ9SroEesqH8ZF1hVAbSr0qM= X-Gm-Message-State: AOJu0YzId/PTZPxy0QEuLDgOgBiPZeeaoGwaaWU0ajwsfuARLotu3t3E F+unodE3CCmVHcj/AGPnDW/jKsILdmXbsVjgFSFq3dLH0eqTSGP2V2Od4gD1dXqeg11R4l9BChI J X-Google-Smtp-Source: AGHT+IECcF3e3kLMyD7s8duwHyzvTWogdA7URiHy0RnfEai9yZDFVYW0G2SgWWerPGW7J06L/uDwLQ== X-Received: by 2002:a17:906:fcab:b0:a5f:ae29:6a53 with SMTP id a640c23a62f3a-a5fae296afemr32081066b.66.1716062851249; Sat, 18 May 2024 13:07:31 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b177desm1248364566b.207.2024.05.18.13.07.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:07:30 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 18 May 2024 22:07:18 +0200 Subject: [PATCH 3/5] arm64: dts: ti: k3-am62: add dedicated wakeup controller compatible MIME-Version: 1.0 Message-Id: <20240518-dt-bindings-ti-soc-mfd-v1-3-b3952f104c9a@linaro.org> References: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> In-Reply-To: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Roger Quadros , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=975; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=27I3h4MgKYXtSFZBFu936iQ8SV3TK74BchMEwHkKkHs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSQp7aJ9uAPdifvTFCfvdPT/QaGH3rM9k2/Pk4 cJ7MJFhpmeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkkKewAKCRDBN2bmhouD 1ysiD/wJW7iK9mB2cpGVGjksncgvB+K+Flh/r3PTtrjFx+trwGzQ1nnh7FWnF+NABSKTXl5ih/t zYjJTjG8DNgLaj+F2FK3oZlnY1Wj+90+tvV55TuvzkmvLVJhSlnMHcnZrRrZ1ibgA4uDy7ktN/f DkNh2omOUKyIa89KePxV1qu54AI1uigtyWNxKGw4Ar2KR0+j+KyDxdFuPrtaJrtz96aNQrcifD5 RxRM8C+N+RgEGOkQRXLH5ma5jEde/QfTii2zkBXpaxo/FltKsPIk9jonhdKyFuYikxgfirQd1bk n6duhw2aK2KJgsjlQ/RasYY58hNjyxhjmp8iFL7rmTPX/PoHbdGQlHhTBcOSYaUInssDErCeyP3 EclEogd2d2bPVetkK867X9WOzKNlFMDMtrSfEyrQbWhJxei6FvfALQ3kAvfDk+gov873zemroXT wx8W/WPfE3W0cevwhsstOqsGBKyLcgW1xHGc2Iu7JQkBaRntIO9W7iAVq2hwLNj8TFld2TMcN4o c17SHGL2Yrs0e41xkNIpzWQHK7asZIa9RNg0Q/MmnA5dYZzZ4tTqSEV4nXT72+4W+Ls0W7suFSs ZIQkYuetDJ1mkWHFz0CKHY8ZVo0MhOtlxRqFAeRWOT5gvImdeDH9mE1wtNn4efDd21H3tEyx3qt /IsnVmdQss0rY6Q== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_130733_119639_54AE10D8 X-CRM114-Status: GOOD ( 11.93 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Each syscon node must come with a dedicated/specific compatible, which is also reported by dtbs_check: k3-am62-lp-sk.dtb: syscon@43000000: compatible: ['syscon', 'simple-mfd'] is too short Add one for the TI K3 AM62 wakeup system controller. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi index 66ddf2dc51af..3c1023108642 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi @@ -10,7 +10,7 @@ &cbass_wakeup { wkup_conf: syscon@43000000 { bootph-all; - compatible = "syscon", "simple-mfd"; + compatible = "ti,am62-system-controller", "syscon", "simple-mfd"; reg = <0x00 0x43000000 0x00 0x20000>; #address-cells = <1>; #size-cells = <1>; From patchwork Sat May 18 20:07:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667694 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 D0D01C25B74 for ; Sat, 18 May 2024 20:07:54 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kiFJai9CbWSCRDklokVDg4u0U9GewEXqkrkUoUkMhL0=; b=QTgjPo0axBTMYs zbpPYtMr0iw1w4YtOICc3yvKjJmCJwvuLowTy/PrHfgFiit2tXjWagXICkiO6xB3XsiLTxoqeNaEg QpolHcBFlfKXE+caETxTLLrM7Nsk2bvmFEu1WoHEVkDZTClrKxXnXtLJUrE0TI7HB4EEM8HQ3MuCf YWdrq3uisuwNtPvWupzdrz6Gn78seEEgjS1IdSywN+RtTEYJnf18ztHEIYZ5GCf/QfMXfpMgtFCbF Ym0Bbjt7SCWt8IIz5Dt5ALc12pXRAiAairO/T1z63nWWm8ZPu0Uj5GheRHpgJnHIvQ/TKtpT7dJQ8 ruFsqq1jRYvl/+nmM2oQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QLI-0000000AgIb-46Jv; Sat, 18 May 2024 20:07:45 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QL8-0000000AgDk-2wGi for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 20:07:37 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a59ad344f7dso466030666b.0 for ; Sat, 18 May 2024 13:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716062853; x=1716667653; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=h6sRNb1yEf5vNz5YzsNae8SVBllCt3VFapFt6/g3Jck=; b=AT2boTMrzNYowdS2kkFKnj6UkNPGaqmKYWZiWZtYcEKNRIiOKVGZxbfeoLEz/n08Ky j3xmVmNSHYkQFJXP46aDAXbtYDrxadSeyQreQQ3Bfi+PGtn05cTYiyttnzh+sHaM2teu pflEanccLBouMykrWca0CX0D4S3Lq5094j/Ula6cAmuUrZjsvJyQvz+CC1RD4kjMRN31 g97XpL86NYwcVBo8+umTSV5rXBo33X6oYm6ycbnThPOm2VUdzBBFHRwCkAYlh61DGVDf AKVXxxa8os5audfDzla8/+PQVBSvZrbNXv9isL+OYXZUeJuEsKOYgvJr1L+9ZtaQDp+D xncg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716062853; x=1716667653; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h6sRNb1yEf5vNz5YzsNae8SVBllCt3VFapFt6/g3Jck=; b=GJFSci85uahwmzsQk7mJFonjr9vbPsIgX8t4ghlD5QbwZI+eCXA1kdfw3EmJPM1DJM j7JnhgERm7luMLSR6IpSJA/n2bpKFXuYeIAU7XpkE322cC6mZmiB/MaUSnvJw3edkpc+ JOIJ+BQQZdbke+U/MBt0LvT5PEEjNtS1cyXr8lbKSi/os2hx34+ZnC4DaW/n1YTTutvm 7jj8ANS/KCCraP4D3Mh19J5SeZZWLeLfLucpL0kP3YZU9mWPBHbDcMrULr30sYOJ5Rhe aBONGwOL5ttSKz+GvbvGb/ZKmfmVpubyLmIxcXCpt+/RBkeEIlYBe7kL91cATV5XNgKX xwnw== X-Forwarded-Encrypted: i=1; AJvYcCUUZWlD8ZcqT2xhiDong7TAxcFxN7gnqsLJhE59QCQKFyfIwZXsirWb8ceBS+gpCNiSNg4lw72Y+1uhjIGcVK9lV4rOZ6mi1I8/dgv1QZGqf1cF6+Y= X-Gm-Message-State: AOJu0YxExikcUz5XuV4Up9QoNrZcZYUs6TUw2Sra2BpXFZeDKw94Y4FD SyVjDovEHBRS0elnOSWo0tPMCSgyEcCGtuzwElhYps6V0NFqF3bQQTQ0oEbZZADfY7WrR5o6rDv 6 X-Google-Smtp-Source: AGHT+IFnknZj5UpApTZ/MDEr1PXR3EqvP2yIG6UqIBcNWsxdbGJ86TqcFkQF+RVf5gDuY22ECRk9ww== X-Received: by 2002:a17:907:9c04:b0:a5d:edb:6d60 with SMTP id a640c23a62f3a-a5d0edb7992mr369010966b.19.1716062852568; Sat, 18 May 2024 13:07:32 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b177desm1248364566b.207.2024.05.18.13.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:07:32 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 18 May 2024 22:07:19 +0200 Subject: [PATCH 4/5] arm64: dts: ti: k3-am65-mcu: add dedicated wakeup controller compatible MIME-Version: 1.0 Message-Id: <20240518-dt-bindings-ti-soc-mfd-v1-4-b3952f104c9a@linaro.org> References: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> In-Reply-To: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Roger Quadros , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=955; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=hNz1n7doUQDa2gnviukj7uX76N/6azWycr+wpcMBXiQ=; b=kA0DAAoBwTdm5oaLg9cByyZiAGZJCnvI1zKo9nYJ41eot7hG97NsZ2wQu0B26jx+pMZitp3gl 4kCMwQAAQoAHRYhBN3SYig9ERsjO264qME3ZuaGi4PXBQJmSQp7AAoJEME3ZuaGi4PXbCoP/RZg ow7PNeZMz0qiFUQKohCrR44TWISQMMQFLQkWgjV5bwvXIJCk6g8PIsaOWQ3uOgKNrlQrG3FMrZl 2nXWjCr8p3YpJOtdc4ClvkqNN7zWMteYu9Krs2oyB76muHDbYJx8nolrgenmhY+GmISxJ3xtZmJ rkAcwzcP0hzMXThFmWoMWrFIbEnm3/Qw/evAYbGk9xTpXb8yAZuVvKPJcLUTWBLtH+6T70nUBWB 9MYIpr6UEsksFbbWdUcr6x+991kl7LN0pcjre+DZVfHp7DYcmj0qchewNd7BgupJGM0r12ql/k5 D1pUcLGC+NFYI17xLr4TI/TumxL/sAw8l3bBfzNCHFgaAQbuNhFaRi3yqru1MrG9diQAKrxULpB UHtaFbB7NLCgSHjz4Ve57eEzRcplX1pq2ezPjOngG1cggkEuZONM82dEbf1lK7kPfADA2/I/dO6 HCGjpNQRXVvJnlawf6YDEPuxptnuz03ceF7IP6Q+vWhf2jwTGh0z4RZXrO4J0+XVyEo0b0m2eZQ X4ikeQOAKn4XC0iHIO8kNUF9+Iy2UOt0UWpoWQUa2c7XweXeDWfQowEX+vpYlvuuVUr/TdKlPba SM8tsUFCSUvDnh/p+d3ATrrTPGUXK0ZdpwubhKMSlcGBajx28ZHha3FFtV0VX64o8Z3Cd4KTCTL DrEtQ X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_130735_218457_99A1D8D7 X-CRM114-Status: GOOD ( 12.05 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Each syscon node must come with a dedicated/specific compatible, which is also reported by dtbs_check: k3-am654-base-board.dtb: scm-conf@40f00000: compatible: ['syscon', 'simple-mfd'] is too short Add one for the TI K3 AM654 MCU wakeup system controller. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi index 8feab9317644..3a61ea728645 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi @@ -7,7 +7,7 @@ &cbass_mcu { mcu_conf: scm-conf@40f00000 { - compatible = "syscon", "simple-mfd"; + compatible = "ti,am654-system-controller", "syscon", "simple-mfd"; reg = <0x0 0x40f00000 0x0 0x20000>; #address-cells = <1>; #size-cells = <1>; From patchwork Sat May 18 20:07:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667696 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 7777CC25B74 for ; Sat, 18 May 2024 20:07:58 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7Ev4/CKpPEiMiUv6jdtghocIhL14D3KIlTvalrdh3S0=; b=q0gYfUb1vsuDlN sJuNJVJnArFDYR/YfRF6C5J6b0ex9yzXsep+wWfHNADmjUWAC9JUQP4dJ67t2NPHOvBRvESvN756A ajkjjNJd0546ntWN1HUPxWtxh+gaeeBMGMfk//wyUwpJ32CPtPTDnreXajIFmgZH9mxPnBUur4nVV By/o75yjsHuxmM6nX2dUFKdPypHzMf51DCpgVjJB4uZXEK9rDjQxvw8EaX1WWNDvCM8VgxptenJZ3 WgB9Hgv5DQziGr8r9MRaVTMtc1Th1N23OKmgCrz21bR9Y++DsrKmiecKqvAlTeVyKX+qyZS7iSvh/ p8drJdd3Lo1CqQTX5GPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QLK-0000000AgJg-3NTX; Sat, 18 May 2024 20:07:46 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8QL9-0000000AgDv-39DI for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 20:07:37 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a5d67064885so89779066b.1 for ; Sat, 18 May 2024 13:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716062853; x=1716667653; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=dQwOyKTR3rsncCcZYmEoeJapZ7QMbyHcL4mYarDVTks=; b=u5ZB3aM1TnIkk0gEPT/AB9tum4qReg4Ik9y68uWUkrZ9PJobk0asZzd25TXapNV3IV YWn3qhPzCJMqJXHAK6OVoiPXopgaNkZkPbAN3RdqpScEizfC0i/rx18ahbpsoiKrYfDD N/qjRaWxATE6KqrIdddA3Ail//7mMH+0elXod4kTiT0p4V0vd94K1DRH5DqzG1SD5Wwl ysN9z6gbdnN9JBp0syNm0EsrW8XWu/a0/7VFgM7vK7lW/D6NQ7+ERJ58wLbHWiwPBIJi pKhZlr+OrvLOc24OYbAmbgzXUozgQABJFJlrKWlmCafxtRwix+llAttM41IT50ef6ciz Sw2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716062853; x=1716667653; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dQwOyKTR3rsncCcZYmEoeJapZ7QMbyHcL4mYarDVTks=; b=kZdZWlq5XmWNdRsfqgaYc4CbVzeMWNXNTgKOzVLtXbCyAN+8yDIs5bJrNXgRUrKQ9p whbZKtsivuoDdy+rPjXEQJnSYWAQVJucxo0QjLKm37u3AcfKG1me4OVJ/ztC1JjLWT5m rOhNoiG5FaU7tFNlCbmkOSAiOzF3qkwo/E7bwliklmvItw+9Zt91BNtDo/Ks0cwrGGDA XbVQm5vR8mBTekcBgHktbLstUqxrXgm5iv2sfjYR12IzdezV0ZLrVC1IbUOeNsf3sANp uoqkWLdgmgVMPVuxiixIkeA0USIobbohPErvSoOztDLgXERVrIqS8M1R17G+1zFuvoMe UIsw== X-Forwarded-Encrypted: i=1; AJvYcCUqWLUgrOg1489IHfuo4poXKTTHfvHNe9gqyZ/3BxGjAIEm/cz6COVfdjMwfsng4nU/9QeDjVyVfDLCU7KLNgkES59+HyWSCNM2AJ7r6W49jrUvL1Y= X-Gm-Message-State: AOJu0Yx775euzUYMQlAhm14NIpAkGmmyZ3wiANTr8OacflrnMtkxepVv pAUZdmSDlCe+FDmFEs3ktQKgUYJ703IoWZQRmxZvITtU8cjtKMqhjFZVq/hspls= X-Google-Smtp-Source: AGHT+IGuaWD3MeBrsUVyyUeEQYILxW1BE/fsCLBcMc9qLTh1BdESQ22zX2/X3isPnS9jF25LVh1EPg== X-Received: by 2002:a17:906:3e4d:b0:a59:edbc:193d with SMTP id a640c23a62f3a-a5a2d65f29fmr2296024766b.55.1716062853791; Sat, 18 May 2024 13:07:33 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b177desm1248364566b.207.2024.05.18.13.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:07:33 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 18 May 2024 22:07:20 +0200 Subject: [PATCH 5/5] arm64: dts: ti: k3-am62a: use a specific MCU controller compatible MIME-Version: 1.0 Message-Id: <20240518-dt-bindings-ti-soc-mfd-v1-5-b3952f104c9a@linaro.org> References: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> In-Reply-To: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Roger Quadros , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1226; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=wpSPUSl5kP38TMyuibl3QbQUYCxvQqbE3qZT+7W1avU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSQp8fpXlbh+z70zx8ejPZ7B6kRtt/r4vvpZ/Z 0bAXMegSqeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkkKfAAKCRDBN2bmhouD 10CWD/wO2i020uBV0CR8hGBU7/LmFstUbety2yXbz8rii8DpEJhXd577ena/RBgquAKkoZuDZ0B cZWbQYkB0HTdW6g+3iM7lcCM2szcb8+5B6ltTNKhet+avcZg3d2/8eMTnL+xJeoeWLYtX2rTaGS 6vtzldZybXGs/YTXFTqFkDwHi0m1DefGoS/9eqtHq0/pjxyJ/3W9E7mYKQrkkGh9sEuJ1cRzaJZ S+j4CddtRxoqY+GlJXQW1CPaveNZ7z9lxFfbbCdpotJ6mUoig/p9FN1dFs6Thep324LeWL13eNE lWRO4PUZfVqm9/RKCD15MoeVPitzzB1uxfLUTXpfQWCrxgFgXpcg+M1H94mx9jdRHVcyEoqIjyw m0an5Sdv8LzdJKgV1YmGe+VJZatgXywgtUdxRcSeVEo6jn/yz5dzQuUJBjm7KD26l9a9wa+2iTv Gwoko+NFc6Usfz5eFvTzKwoIWfqDqFY1J0IRcEU5xGg2wh5Wr3tCqQUwDl9RK9MTm040Qei4+Da 5zIa2wUHSc9dnUpZuTBNTdyrqYo2N9VCxpBYiBeFvQ38CvM0GKMt0ggALor+4x/nijmjT4tQJSu +RDag84M3SD/cpwxiQ7EyJLDNgzuoI3k/pHgFpnaVJT5kiJic6GDj/K1kUWubf2gbzDRXjyrTLy 7UVD5wDvmjOOy9g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_130735_889056_F08E7999 X-CRM114-Status: GOOD ( 12.66 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org SoCs (and associated MCUs) should use dedicated compatibles for their nodes, not re-use one coming from an another SoC. Using an incorrect compatible does not allow to properly match/validate children of the MCU device and causes dtbs_check warnings: k3-am62a7-sk.dtb: syscon@43000000: 'syscon@4008', 'syscon@4018' do not match any of the regexes: '^chipid@[0-9a-f]+$', '^clock-controller@[0-9a-f]+$', '^mux-controller@[0-9a-f]+$', 'phy@[0-9a-f]+$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi index 98043e9aa316..d12c8c194a46 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi @@ -7,7 +7,7 @@ &cbass_wakeup { wkup_conf: syscon@43000000 { - compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; + compatible = "ti,am62a-system-controller", "syscon", "simple-mfd"; reg = <0x00 0x43000000 0x00 0x20000>; #address-cells = <1>; #size-cells = <1>;