From patchwork Wed Jun 26 11:23:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712755 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 DB8A0C27C4F for ; Wed, 26 Jun 2024 11:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=UHFAghzAoX9Bj9McLZuZq3fcUV6fdMaKdUsV7P8ymkQ=; b=KQPlUd4roypp6g7u39RRlV63Mf izN5FX/HSfXqdXs36PIcmwhJJ3d9TYi90V6PxFErkQPvqfWGde7wbau6FJQQ7sfz9Xkbfz09dX6ve tu/EqiYpzQGjoQqNrqNnbjgnN4WWviZa5UtyBMmLe43hdqGGd4ZtS2Q0qkO3J3F0UB/C5ETWfZN+c 0ma+GXCAA2uiwyW897QOnXg57JJlpP4wb+L/xqfLXqnFvNzyfj60XKvyioU44YGMecQIvI7jBVS7L wC4uMqqA9WMmiugY8BhT41A1GhifZW4n6cmIN/DNesgVftmqkjhglmfytYvgdk2sUAN8i7AWsuPij NPTyoWHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQkm-00000006Wh8-1msD; Wed, 26 Jun 2024 11:23:56 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQka-00000006Wdb-22aj for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 11:23:46 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a725ea1a385so356440066b.3 for ; Wed, 26 Jun 2024 04:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719401023; x=1720005823; 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=UHFAghzAoX9Bj9McLZuZq3fcUV6fdMaKdUsV7P8ymkQ=; b=GtGrJ2Lh04GftPmiUFxlLZe09Ia9bqChBc5lTPfoZh3USTnnDkM+5XLDay4OJdFnlV iMcVkr2wury8RJIzZHm0/UmPrJO+9Tb197eSAluxhLRXc+YiFcnTaGlo3M8Oq0jujG5C AdTvXDX+KT6mJQ987uOQEBOHSGw5r9Vm8syhEvYBujb5PQ4dSKiyENtQIwmce22lAca9 PvfoouESGW/mU5RzMqxiBHsFVX6E1P+kb/tm8ln73yu1jGF+1uJwnE48ZRh1PL4c2F5x C2DsvO+i2L4p5/siTdn0QM1fzL1k6Z9Qfb4i93Zh+vuqRv0YYTps/hLL6QHTn3nFl8ow kVuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719401023; x=1720005823; 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=UHFAghzAoX9Bj9McLZuZq3fcUV6fdMaKdUsV7P8ymkQ=; b=IzlkSW1mZ1XpV4X2rLfa3R1p9K8idyglYiiokv8F+65cuDgiynseiA9V/0pmD62hiR oawm/Dut9ftqMNvTaMFhziJJcXtlMNdCqaPSG5MJQQoEbsMWe7tHboDl1Oiru2jTrxEU 2+YRWvPClkeSqwO6YfBEikxOHOZp/qwmu0ihQuiiJAjNgdhUfPSQA+2cAAQQkXkM1sEN e0nOdDK5QpfZzwLrsJIw7NA3O+hCDt6AKBoNLX9xg5no2v1eDZCXsxMr302wqm4tNEdI QphzKHS9YbdjwOeSZ+b9JEEy1O85EodVC4SDJPeGJwQvpae3sA+nD7kQDNh/tBf1XSuI SpNg== X-Forwarded-Encrypted: i=1; AJvYcCWKzchg6ZlxEt+Ry9P3Vpg0VeCb/gegxaK0kZEb1KAJUjm57KbWLN83lO0x5j+Ch03OJSnGZOy+i8ukivcNIjtsJM9BW3C0Z6LyyGf/DvO68kzAR1A= X-Gm-Message-State: AOJu0YyMPZqRQE+uoFRPC659zAEkR4qN5QGeELzl89koH4j8RoLGcSZW 7VWsYn0QwDeDjSDKMjIKL6Kr90ZmJtPwFoFvT6/gEX6fsCO58Iat3lLVrkKIUuQ= X-Google-Smtp-Source: AGHT+IF+o9xL/rCN/q1fNqjVwtlLllTegQZ5VL+WhBeVkaD1yaS0lFWymqc51LELPvMepZKgvgcy8Q== X-Received: by 2002:a17:906:d8b8:b0:a6f:e54e:a259 with SMTP id a640c23a62f3a-a7242c9ca32mr677753966b.32.1719401023176; Wed, 26 Jun 2024 04:23:43 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fe03b4528sm497772166b.206.2024.06.26.04.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 04:23:42 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 13:23:33 +0200 Subject: [PATCH v2 1/5] dt-bindings: soc: ti: am62-system-controller: add AM62 syscon MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-ti-soc-mfd-v2-1-ee4d69017326@linaro.org> References: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@linaro.org> In-Reply-To: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@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, Conor Dooley , Krzysztof Kozlowski X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2488; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=z8/LYFLL33ZSSC3LJWTKkBqBU3ELjAHLh3fkufZPhjw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme/o4OBjgFiK83FMO1ABlrUKpTvg7aolNSs66x LJ/aIxj5r6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnv6OAAKCRDBN2bmhouD 11DaD/0V0uUsrx/dRCVeyEQgxTd59UjtOj85U96i8UtJSrKzqHOZgCbBevSOpX54WJojqFhCoEM BDZBzsM0tCi18cxSngCKqOCPS1fR4ajhvnnm4x8QfDdwAe5MqgPrdO8UZqsLjAlQhK4Lsata7x1 Vt+nJQtHWSYMuWwu8Vvgly1FvBzrP447K1x4XxHqJorNBpjGI5PfKR8Fg4932fvRHBxR7My7kb1 1uT7jZMAJ/D7LnEQFTqcYjZ4BelB1UFsYrdvROsOwYkkCdBFRJWWwRqUg7yTLICN1pH+4LUNB3o xzjcqx8YgQxG4y4glWUx21ccCjfGzsOpWFx/jYFgm9gHefoH6LW1ywQVY8kF1g+vreILCHbDU3+ Z9R+B4lWSqHh2CHz7oY6Iy/4c9MJMOYBD3aErv+hh5xnrX/P9lF4uj6l06JEnIIMEnodAT1dYtn IZHSlgfh6GE0YIhGAtJB/Kz8lXHDDhXyLqOyTwswnEgymBVAlOyMWkwVGrRsYIzF6bMTon5R4Fr +EDnLXlFnqnzIvR89unwMEIQRmf1j4ZsnKV4mVSJ6AQBhPr5fPI+r1VQC3AUHgHaHQPryupMFai pCam2ZKqyJuoHsbNGvVu2Yf+Se71gop3yoFZ2eDXs31WkdP/TyD5O2L98qiPK66WOGlefBHKYo9 S9vUDeVGqLCEBSQ== 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-20240626_042344_576704_E24C0117 X-CRM114-Status: GOOD ( 11.87 ) 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. Reviewed-by: Conor Dooley Signed-off-by: Krzysztof Kozlowski --- .../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..0cea0de5716a --- /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 + +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 Wed Jun 26 11:23:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712756 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 43341C27C4F for ; Wed, 26 Jun 2024 11:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=TDOiH+4qTcTpWy9q12bDHm1ZTWA6t5V7SL+CaVV5EvQ=; b=xwMZrZlgrqP28IqfQ4goUyNXYr cAuM35rLk+0Bb3IcowgInv6kT0XNDIgSproRVVVYu1Ca/D0fOTQYzZpi90q6pl1su0XKewl+z/1rn Jc8BJIzXMUqHe5waSGMAJUNtyH4pfLq39MBaV/3yygeS8JzDDgr4GPdaXfRg/j1bXY79Px/rosFQC /vGB5s1WFN8ACgEUX9k23CCw6EiRyusqDMGmE+4BDyWAGluuvIjyb0pSspizV97/w0leuTiAmXzLs jM8GHSRskGPh5rlPIa9cwHflIDakSXHKhCKJT3JQDE9ciPFCvjbydx9xedSJ8Cqr43DargX2BkNKw wcjEaICA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQkr-00000006WjF-397Z; Wed, 26 Jun 2024 11:24:01 +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 1sMQkb-00000006We5-45m5 for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 11:23:47 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a6fd513f18bso607086766b.3 for ; Wed, 26 Jun 2024 04:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719401024; x=1720005824; 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=TDOiH+4qTcTpWy9q12bDHm1ZTWA6t5V7SL+CaVV5EvQ=; b=CBtvy9uT7y2MiDOqd7dQTxuKrYHD3VNXUf6etS3MhnPlsFpZo3j/Ol/u5obq+/3v+J +8JdLCbYo4NVgDG/Fw3dBcVWSrnP9m2P+MDu4poGfaxwF61L8QtzSjtQApoIYWHtbLcE nFdP7EWPnrKJa44jNAa7o22w7+altBS0RqI7VNue5E4QN1/kb/NpWq5XE6jKn95HKNNh XZNvS7csXXqmWIevuxeptedUagCNdKe7mK4bZlv0eKhRAyEWkzk3mgpQMyZjIZiAz/dw 6kuRZM7SnUIQDvaPKFdNn4tJAieifBMeLq9WSAE2NbLAz2J69vSDi/sN1M2RdIRIoCbT iI0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719401024; x=1720005824; 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=TDOiH+4qTcTpWy9q12bDHm1ZTWA6t5V7SL+CaVV5EvQ=; b=oPRqRuvQNvwHmSXgHrQRx9rJvgeNvilHV2FXm4PMToxf6SsZbbp+W26DBzCiW3MFTV 08juBKjWqltu1TPSocaz24SriDhEFoMvunRDoDrl0DK3HZOFrkT/zkrs2T34qPts3BRL RtH7sZlM2eSv102yAa+eSl1/iy6wC+vUf9+5/6hHXINoVT+HnWQFRnKajph4vxUQx8+B D6kvpOt48AGH7K1KI8biNGa5dpUiDDLJrBSA058WWlyEDVBCQuCbJE8xtObYQIw7D8L6 hW28OWk/103avOAtvxlLWvScSH+ppwbj+9XQzKWMV4K2AyXqzQ0mKK51XsSbaBrv0LAJ nMNQ== X-Forwarded-Encrypted: i=1; AJvYcCUeAimfCcxfPvLtLq+vL4TC566Nx+W85FPG01zB1MToxtITpnjG0ErPY0ylcqlk/oYJLqEycybnIyWLjnBirFvwQW4wGVilMSqyKvEDTABTlk6UvEI= X-Gm-Message-State: AOJu0YzPTSXBusQVwU3+R9Xkk6F2OqeumPMVggNanY4x/ccEMGE9GXXB 98HMeqIdJlwsTVmPQ1C1XVox0r/V4zGAUcpAaFgmci8UHu8aGPYC4ufB50iEQo8= X-Google-Smtp-Source: AGHT+IFoX+wKiYDm/oyjVE9JH01eD6ukectcYMJb+tEpQpZFklhChRAm296JO6RnSjx7tEiTPk2blA== X-Received: by 2002:a17:906:9c8d:b0:a72:5bb9:b140 with SMTP id a640c23a62f3a-a725bb9b312mr505355766b.54.1719401024527; Wed, 26 Jun 2024 04:23:44 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fe03b4528sm497772166b.206.2024.06.26.04.23.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 04:23:44 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 13:23:34 +0200 Subject: [PATCH v2 2/5] dt-bindings: soc: ti: am645-system-controller: add AM654 syscon MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-ti-soc-mfd-v2-2-ee4d69017326@linaro.org> References: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@linaro.org> In-Reply-To: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@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, Conor Dooley , Krzysztof Kozlowski X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2054; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=QChUma85GCYXyOi7HEfymtdNZhoi544snV1GbK2nVR0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme/o468sm/NtXDvDdwL4ZFOjGt++SeEkIIvuA5 byH6CIbPu6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnv6OAAKCRDBN2bmhouD 13kFD/9GSaLTUcAbgJ+xzSM0ci0fqNjXC+LYoYMMSmSMSNDVt8gxMhN3jyBkYCLB80SmOVqQpDE 2rQE87946bvB1HVa2FKoe9k/1lrAABKok8zU4swqCteMNA/wCQWOfiAywxFDkdxEjnMeN+sCkEk oBoillWOTt9KiwoHkt8e1A1aC6k1HalzVBUEQvkBTuDY8xpEXN3iTSKFzzrUr3Q/y+Zl1fgw9Nn t/twdu4KZTDWBPIKUh5QEjVK6K3kGvKzN5UjJDJ+zI3gRg9QrXfoSj5+tUMOarr6GiNVbP0Xu8y S9Lqc2P7xyaRf3KzKMKi+6+fAtyRDTRtj3/NHNYsxeWAmeeA+oshByqIUvAIKKcAD3Rnj5diKxn XsSxmszvrLVeNSLs5iVPuQC8xXk2Hh9MeVZqzUTimY01ViW1/wiZG0FgC9RDkaSoB/UY+KcU37l HxUnpjjM1yKQVa2jPxYmtBNEoQAdKf6G5Ew0X5VtTnWgduMdGH8DJSMu0khIg48XsGgFmrkjVxX xEjSg4N9xhwIO1gOVQC76PEVAspJeo043wfv6eDmkXdPFvjGp/BZgVTixhL/uluJxCHlO9jMs7t HvTI5tLoyt4S8khgRi+jy7uTWdkpS/4BoY11URyrDWh2KMxZ0fQfL0y/I6uLlihh3Di7CNjltWW kFuMW5qb4ykHKUQ== 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-20240626_042346_413244_0E95EF35 X-CRM114-Status: GOOD ( 11.78 ) 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. Reviewed-by: Conor Dooley Signed-off-by: Krzysztof Kozlowski --- .../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..8965b6524f4d --- /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 + +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 Wed Jun 26 11:23:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712757 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 684C0C27C4F for ; Wed, 26 Jun 2024 11:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=tGlGUUqYBd9eXKuviJ+eBUjVQ2ns17XDtHcCv0Am680=; b=yrRWZWzwxU5tNfv8+S2sdRG+g6 I2X1K0TR7gonFNNgg4Zm+LJWKkKDxUM2rkJdU4rP6BAAkf39KZeedaMNYiEa7+aTP/GyS9Ep09871 81KXPrNa0nTBWs+EFs5q/BpaXrm0MtPxdfkVOY7BWocnV8dbu1R8iwQVDPp7jeoDTHndlPjyl+4F5 I2ZGCCj9Lk+hlnt4yKb/+rMHWodJEhxARSTfyq5iSrLO5+oX+88db9D2rqA7j2emAluGhIVEPo/yJ kMdRkUms9EQCdzXf4TXsDnuHfL4pBXmK5l1YYsD0lEipKjs4w2OCHc8KnFzpWLb+m0v+TCSgsacfZ 71P3KbSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQkx-00000006Wld-1W0i; Wed, 26 Jun 2024 11:24:07 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQkd-00000006WeP-1T3s for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 11:23:48 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-57d251b5fccso145083a12.0 for ; Wed, 26 Jun 2024 04:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719401026; x=1720005826; 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=tGlGUUqYBd9eXKuviJ+eBUjVQ2ns17XDtHcCv0Am680=; b=aqG5lXTUCno40aoykk30n/kelxAZ0wpTzDUPBM2Fx9Qes/jsRCN/SFlOU9xFhrnsBy KWYsjqQq4QPbgBLZZvciyeK1FBCFIsa1kbbw3q71YSuKmlTd4aj0Xq4k0ZskKI+uutFw mfp87DGoHi3v9rUbGeb8hYMRkCuqEyB1UgW1LzwUjap353G0AkRbp2hDMY54gOqH+umU 49afUg6xG4oj1NO4toxYe1o2wE52sKRgxrVf3Vno7cQE4ae8nJJPqnkgeJRmEExHfE4e YdN1dcqcyNNc1JPKYFhRtpdq+pDeaH3R9ld1Yr1bULOd/zi39iWAvJsTVoh0XIfuL3ly 9L1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719401026; x=1720005826; 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=tGlGUUqYBd9eXKuviJ+eBUjVQ2ns17XDtHcCv0Am680=; b=cEyEqVx3RO4eBmN+33aPe4WFzdFH5XZxqXU+WX1qhAE2LSiLQ6pmQeV5oVZYRfFWCl ywUMDXS11JdWczuq4nBYvt1wkNZ9uN1F11dF2PfDnfHVKZ6ohDCmPBkq6NTGGfasSQCj +JZuMhxXZIoQGCTLwc6oMUSOnZ7OKg1SLbH+aLlgrimocdciuq8J6/gs4cTgpmmPrH2U vaptTU8+MwShJQ0rT56+edG7CxyystyLZrw/IqYduQZxZIwEqc5MbTe+W9O/nNEj0wDu EQmnvapdYfDpYhcDlyNaJjG/MPLp/4Z0/mnKSOVXXoEn2Yt4lol2FVq1jSY2raAkxbwz s65A== X-Forwarded-Encrypted: i=1; AJvYcCWgT1YXHK0j5OiDniQLwGP7dkCLNEQrF/fjTGi5M3oJga0t0RjYXzi65Siv2nEhc8Z+F3osK8lf92UhRf0wb0INGnfaN7wSEB2YsSzADDkumFd9HL8= X-Gm-Message-State: AOJu0YyU2PzK6koSQjJpyXX/tfE9qFlZzAZUriPRRmhutPTWLbq5zt7q cj9y0VnUJF/XDIvDFFxxs8NgQMimyxbrhHQTnq9tb2s0TsI7epqmdx58tWpUVsU= X-Google-Smtp-Source: AGHT+IE0ewhlgTLPyWpb+gu/mszjOE1OKLDqyeFuWwoXtFnmdY+uucaefQm9kA1LPwTHsLYLbSi6zg== X-Received: by 2002:a17:906:2690:b0:a6f:586b:6c1 with SMTP id a640c23a62f3a-a7245c2db6cmr654006866b.56.1719401025907; Wed, 26 Jun 2024 04:23:45 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fe03b4528sm497772166b.206.2024.06.26.04.23.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 04:23:45 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 13:23:35 +0200 Subject: [PATCH v2 3/5] arm64: dts: ti: k3-am62: add dedicated wakeup controller compatible MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-ti-soc-mfd-v2-3-ee4d69017326@linaro.org> References: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@linaro.org> In-Reply-To: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1023; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=v2qb/MVWAG/EQ9hPvKewoWpkPwivNisigop3GluQkSM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme/o5IwHTUIUWXbVDGP/Vd3FSg9FhGZV+b6LRZ cN9uE6iXa6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnv6OQAKCRDBN2bmhouD 15geD/9evEiI3n1vqIsVpiwRXwmaoTYcURUWyBzfPKjtS8hsgn9StOmfcWMyzhXp/dze9dDvAic 2v7Vu+Kl2cmzy3MAnL+yXY7ePuboCEhzK5OsxPRBANEjrkfZ5+22Fo+rwVCXXw8FOni/yv6HmWb W3p6Lxf4OXfjcDeO4s29sXlkzeVAOtNr026G2A5dRKXctn5JU//bQpVTDVFbOimHGeRw21D0/ED KMb6DRW/lsSqS6/WiNyeIDkY+baksgTZQCWurb97Qyd+NsrxJaaAr6a5YpD9M0H0oxnAL2aABXi vk/FVFvj5xZMUnb8JXtFafCvr+IGaONqZcai11Kf6uQHDjJAE7ZBVfmGEW+hsAZZDwv5nkmQ0y9 TFqv9EDnqgB0aBaTJ1h5mYDMwckfT+P/5K0rbfbcaCDhDthupS14+KiymCjGEz9g/Yo4Lq3tH5I TF/Wk/b1ZTCg7X//vsyBBBNkQev+iTGEaEXOsrWZaRIL9Eu69crUMfV9py9V9zBxiywi2axl30Y HjOuwrRXCzpPoa1CveVwibqhJbNtDsjEXrIbhIKItYk3ilSsllq/cjl36uaeZ/ZIN4PWXqWVlTp 5w3NBlRtSazU90dbZeOPT0JHxsADgP3mL8QwKvxL9tcZk3lIe01qBLLUtG8lYkHcX4aRGOR0xum 1eJf3bS8cxvd3/g== 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-20240626_042347_456700_2B2390B8 X-CRM114-Status: GOOD ( 11.61 ) 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. Reviewed-by: Roger Quadros Signed-off-by: Krzysztof Kozlowski --- 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 Wed Jun 26 11:23:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712758 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 54CDDC30653 for ; Wed, 26 Jun 2024 11:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=UhzrCaRI2mtdTDhATYeg+ETsl1KrOZbsJSM+dhMEZGk=; b=1hli+BhLlWBtNxL3aRoTyLtbJS RaP95uNzeB0RY0nOM8D+WKdxk+yHYwHpw5H2vul7dhHaXzc6E3C6lnHiXuRSFLB4Va77ZPcYDt/Pi UtC+XiYUvdpbjbQFX0yauHBu5JWvGo8ppMgHIkkQW82y4i6TEbvYEhefgXBMKgnKAXCnvjOBNPWrO 5ckj93isTxPaJtjtlx+wbMq70c6nuEQOxTBlACVAheS41uczZ4pW7Y3ogWKoqrTBpNPrXt+0K0pCA LIWXjtZ1B9zLeW/cH1b7BtlyR5ld/WOeQuNmlx1XrrExNRqjhOU9/Lo0hcL9qe/xgAUfCu2e7vPat YdWuJv5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQl4-00000006Wpv-0XMi; Wed, 26 Jun 2024 11:24:16 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQke-00000006Wet-416w for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 11:23:50 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a724440f597so503359166b.0 for ; Wed, 26 Jun 2024 04:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719401027; x=1720005827; 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=UhzrCaRI2mtdTDhATYeg+ETsl1KrOZbsJSM+dhMEZGk=; b=zBjVPPbo/XbCBjGJDrOFNdPF9bBqdqkcT5V7tLMyL4IYwo3ejEBpX1HeWuCghl1dZm AE+wE6PcefEJRi0V2CQOR7fmXvF046dH2sXQGYGZ7k68ESHTeXuxOj0R6ADxEJo71iDL xlo6o/KkYKFbzICxrG2ylnyI5thv57ySHVImxW6i/QC8MWQlT6dVhmHc5YBXjYWeroU1 kg9ApEltoWdRvCyUdgEoSTrnNCikvGeS8VXW49KtjjEnk3YQ8uYhY4uvxDJIYbTo0oka pbMxb13Y3Sb1ehM+BTseUVVvCwtYbbPlA50kfAII+Zvt7iEUi9LQe0U1UpxMrb4dC9Fq 6AIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719401027; x=1720005827; 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=UhzrCaRI2mtdTDhATYeg+ETsl1KrOZbsJSM+dhMEZGk=; b=LW2ClsGfls9KtjmnndI7LEZYIJtLjNS5Z0eL0E60cqBcf1h28zqCy5atqxI7/+fYKY /W/MIpHEQBpoIRiAS22KtiI2P0j1S878LS1iTnGdvGcv8LuAsypeTFo2K/XBMhh4wZOZ XLmAckoKICZSyyzeaRODQHV9v3Sw4Fi46ndKhniRCfArUk7j9Vki3kOAqGAzSZpMpxDR lVq+l9HttBNYMbihOqHujgcW8LVLLA/bx+LTtxq8tJckIcX0l4G8BXvcPJbep6cW4UhC rCp6WH8Y6IkORXpWxDUS6b0UH2fYk2S9nyPIKGCo+xa6cq235ZtEqvtiIVCKjFVNpx5A ScPg== X-Forwarded-Encrypted: i=1; AJvYcCXRi3SoB6FKR6Ft8c6N1mAmhnWL3kINhkaqoLmu6wQIgvxzfx14GVa8SLPOZcvshI11zPDpPogZamosE/eTUk73UnvH4IeJLV0N1nF8Oyg5OMDwkC4= X-Gm-Message-State: AOJu0Yzzwj52ISU9XsukwtVebqwwfnjH99/A50G8e1sUnfoSSbWOJCu9 F3pPiTc5F9rsVXhBf5Ta63lbpGKRF2kA62QbtfWnZbCHao/4ov5vkM6+yvmQHSA= X-Google-Smtp-Source: AGHT+IHVN/qm5hRWbYkXzIM8LBVK/zMUEfQpmAqK86lk2mIBDwgE6KpQXxZ5TnjZpco3pJ0Bqa6a1Q== X-Received: by 2002:a17:907:c306:b0:a72:6055:788d with SMTP id a640c23a62f3a-a7260557a34mr700773866b.42.1719401027418; Wed, 26 Jun 2024 04:23:47 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fe03b4528sm497772166b.206.2024.06.26.04.23.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 04:23:46 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 13:23:36 +0200 Subject: [PATCH v2 4/5] arm64: dts: ti: k3-am65-mcu: add dedicated wakeup controller compatible MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-ti-soc-mfd-v2-4-ee4d69017326@linaro.org> References: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@linaro.org> In-Reply-To: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1003; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=cG5ldJZdLV2nZybLiuZki5UcWSsivUTnTsHSlg+53M4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme/o6jMWl6t7rc3T76x4LuCQ4SwyKVNJ47Hqsh 1mWIYF/Id+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnv6OgAKCRDBN2bmhouD 19WaD/wL/pgrgy2SrHtum4st+SxuhpyP9kADbAlSG3gQMtBwvk45AQiR6xoaK6nmVRrlYGs9P6Y HIlMif6k1y8YpL8Oh04XImYhemwhCX4bVgXu1hh45PrVeweqbOoQUxmVff+OeroQsa6lvXlccEs MnnvtWo0sd9gkIOKJkR4WBTE4TFo8SXIMGifjVVZK1mIlbvI583YvrRH+XwFDHfg4kJSZVaw9S0 11pqOiiYoSiUHoXcFRqP0G6GDjrDUmxe6znoek3zwaeSKboWI2Nqy1I+Se51ixFEadx3xum4wGs BgJ4wMLVLmPVDDwVqC5Ch6D5wED4dGHOvojaLs4/rwLHN9U4LNCcKh7gt4k5QuKliQoJjdIckoc hdsUjBGX0wcN/nlw1rfEQj/NTP/pKAR8k4LujjUSqqr0gnNqRY4jNoacSRCkgtqUpZDlE0TZKJq FawGv9/GsdAAAl1b/Zf3gyFBR7CHEz6E/NQ7P3QMDmGXfBtRFmKE+rRAoBuukbNDYGH/U8evoge zmAg/1PR84vDF2ciKo3Q0FKyRCSahUGHQywLmf7Bs8kWNryJ9PNh6p0Rs//vqKHNvrcTEjJEUwi qoQRYgWWSE2uw0+Pe8pXoQfrbVxlV6g+njqyHdQdImkIMNJy6XSwAg5hn0dZUFiWNNkMlKsAeEG tsC1UZUfFlDxhyA== 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-20240626_042349_050732_45D578C5 X-CRM114-Status: GOOD ( 11.56 ) 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. Reviewed-by: Roger Quadros Signed-off-by: Krzysztof Kozlowski --- 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 Wed Jun 26 11:23:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712759 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 917E3C27C4F for ; Wed, 26 Jun 2024 11:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=xOfyPTxAU1AA586B9scKRNYbaEk7KkBMPazDNwYMU44=; b=V1j3jwwlGrIImX8/tr7WarTCpT qFFJE4FKMgWOL8MvGhVvKD2f0PIRNNN8aiqoCDIDGlaQltV4+53v+Q0x4/TmVBFPaRO6c3xJ2WJB/ qIFb1o1QplxIUY5FWalxU25npkUBCDljSucW9umx6z7G8dT3d+oOQLGEsJIh/6+KOJVXgsjYwazYK l0A88HKnChtQws+Rnjtn7FIj+nYHr1uxCVDv2eM/jcjs7MQ7uQothNmwwG4L9/TPMH5ScGSC3gklO wq027TijzMAHX3eEHh6EAEGLcezBDEdWxof9T1sasmcrWEMy3FOyAEmjhWOqXZs/c3mCzpmXmpc82 jj7BKV4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQm2-00000006XKS-0vl0; Wed, 26 Jun 2024 11:25:14 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMQkg-00000006WfL-1Ekg for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 11:23:51 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a72420e84feso546233566b.0 for ; Wed, 26 Jun 2024 04:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719401029; x=1720005829; 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=xOfyPTxAU1AA586B9scKRNYbaEk7KkBMPazDNwYMU44=; b=h+T2pO+/kjY2LwZWKMErTYEuHlrwXCALp3bgRTX5AVQnlXeWmjKZM/CVoYrhoI2ON2 MOR8FFaynyU2gJ91GGOmSUf1xKSm7DDFXiHEizMHziCcqb71V6ekG5et94Bk/fdRY1Ts lfYWQZ3Ol+sN/iC2HxfCKRFwzYpso4ZR1cJ/rf2nssgfuY/pHWqWO+eWjfjrMfM+RNzL Xg4gfj+dLdKbWhKVnXtgX/6mVBgt+UM5TTPGuxNxZu6DmnSfmuW/0U37qrRRyp4rC/nA ZK5kXauJ8XpJqsOWtuAo5ezL1DYsMPBUeoyC7SHPvw6/gieIw6TARuSnKWHXy3YqiSMy JLXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719401029; x=1720005829; 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=xOfyPTxAU1AA586B9scKRNYbaEk7KkBMPazDNwYMU44=; b=Gz+wKsEqKoM95iAkpdCO2fbvGVEriqQzs2TsIquhncvUc4crmfhg1Nwg0S6r+jtfPj 90mktZGNF5NTOhVD8Pp2k2AzpxM3SfQsnrJcv6QmckJyGjkQJWccFxe3pcBJMn84C1Nh KG8HchezN15oAqIzm7Zr0rf+r/+OB3Lt3FNyu3GNEndgebUPBZ5Y/lkoRWWzDXyT4aq1 Ctla/UpGBdL/p+d0nVGTZcSWN5HipWzdKEMc674rAcSRm3DC+GWPo+XDIslTN/oRlRUC r8JIc3jrSMwhtFB7hivw2hyJc2GM/OmU1W6RT/uXNaYq8Y3/pKDeLRVezWPgm+XnacMr D67Q== X-Forwarded-Encrypted: i=1; AJvYcCVKulgEAPr+9ovSVfU/zX+sV57Hb6SxSVDrwg8Wb8Y2sQQTGb5OX/HnTf0U4F9y5//8q2o1oCiiQV3Dc/bUN3O93JrvS7XHDGhJi30eXu17dIQuGTo= X-Gm-Message-State: AOJu0YwtFK91H5SFep+7JfCYRwIKVLOjjDmC55Dt/d1UPVFS3qHDavYR IGg9BJpdyAbAKAv5XbwOb6RMJ7BM1kRRCYLTnHf2qRk226Okd23e6b3up5tmWVM= X-Google-Smtp-Source: AGHT+IFRV7QyRUY7M2NvcBaMlNrN4IGR6Gq2Zss6UXr/NFfg84GT03FkQVDIgExmlZrFsJTRZNhTOw== X-Received: by 2002:a17:906:3509:b0:a6f:8042:de89 with SMTP id a640c23a62f3a-a7245cc0811mr824740766b.70.1719401028801; Wed, 26 Jun 2024 04:23:48 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fe03b4528sm497772166b.206.2024.06.26.04.23.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 04:23:48 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 13:23:37 +0200 Subject: [PATCH v2 5/5] arm64: dts: ti: k3-am62a: use a specific MCU controller compatible MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-ti-soc-mfd-v2-5-ee4d69017326@linaro.org> References: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@linaro.org> In-Reply-To: <20240626-dt-bindings-ti-soc-mfd-v2-0-ee4d69017326@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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1274; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=9AG4qGOe5g3U/HGCShZuA+22HniQNQEni/ZHjkcOb64=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme/o70mqFL9qoqUbRbpBy0OgTiwcz28HSVvYRO 7RIsN5/tF6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnv6OwAKCRDBN2bmhouD 10W4EACP2yaHW/LYHehhv17W6+vkgdToGO8W76Hqd3CJyCkPD6oWshC3pTZsUCt01SSF6mBcIjQ 3L6oEh8Sytf4UpeAHZbYEWhGL0abqJmf3Cs+4RETHTVK7EFLLmHTBKK2EhaQjxjcMoXcOTEYZT/ BHiuwmlekAOiAwezVzksafdn5SduP7diS+YUTeJivLeg0z/+OaOgs3j9VTBN1m5QEnM4Lu1toos VB1+Xeim33Ktytnxo55OdPzw7ZFnhk63MEDsJlBmMFbH5bQaKPEHyjuB03rAx8ne1H32USaLYh6 ItEcDkWsqb3uLZqUvF+O1qKjEc4GQmGCHQqBvIwE7WPTfQ40ArZkLj2zNUdMULXTObFwiIaiCJS xjBDtmz7Jb6C+ZX9KHM0JUJj0sC4FRf2syLSBd4Tzk/lc/n3pAT07H0b65iKlN/4zpAX5Smx10b CaorS9CKZEIpQLUg8/ExP6TeU6li+NH27/Bg2eolLETpNbcotvkj4HJWS+3p2Mte37XUmNj6Cie JTx/UvFBZR4lP8nyjx/1sh0U2i++dYc+Zf8joS4TDDFvD2hDyuvULZz6cewJ1UQuTz9/R6rWT5Y wQXCoIuZwVf9j0G1wMA6hTyvToiK5Hp2PJuR/WRMJGwzYsuNNC5767uFkFHC3qateXjciVSU642 XuJN0VHk1ILVz1Q== 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-20240626_042350_421221_5F0E89BF X-CRM114-Status: GOOD ( 12.54 ) 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]+' Reviewed-by: Roger Quadros Signed-off-by: Krzysztof Kozlowski --- 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>;