From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FA4D17E45E for ; Wed, 26 Jun 2024 11:23:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719401027; cv=none; b=GhyPpWJx4v29zekt3EAFJTmsQrJdzkp+Rk9VkBtBm7eSirtn1kPo1D2uxQCjXVzinfagb7oUEvtuhHRGW8AEkCH1/Y8eRw4CWAuZE1YSrWJqHmd9wWf2jE5O1dxfumxgZw7CeZnPakjEdRpq518zLHOkorzVatk2p9Yn962Sy6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719401027; c=relaxed/simple; bh=QChUma85GCYXyOi7HEfymtdNZhoi544snV1GbK2nVR0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KXKe2OOVOlqoNpRv/ufOuVuemdrkVL8a7HyHqTKuiMt45GmfYZbOxS52brzlpvkb/1E5ORs7xKwVpMQGVLGLKToNcHHN+yRq6D90+ww+cwTkO+RK5OApWFGQLoMrWxyp2dQrE+dGcFBmnlF+Np5Lk8dBXt4rjSm45WDviT86eNA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Yegsr3Os; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Yegsr3Os" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a6fd513f18bso607086966b.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=vger.kernel.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=Yegsr3OsAbiw7u/YKoEYuwqPn33QlnD7Vb9NiSoAYGYNqN0uflNpl4jyGy46Ow1bku I9HGc99DAqQ2Nelp3QUEV/bNZcZ9lSxCjFkG+SA4fFTijGGBQRXxY4Ruag2KtHO1AeUC sTL0rKwpm9bCgDdjgS3/s6zUoCnWa+Yium5Xk9flaZyyGSO6ZztVRNgFf33GNKluQ/sr EAnk29UQxSl919G+XtGlywgaYAM8QP+Kp9b1O/gUE/GQ0J71cCFehlt1/4pX29IREVU0 ykYpsuq9g8x4gd6gQ4SPgd1iS5hEHTBz+p0KBFDXg0rqmJ/rXk32sFcwa04GpeFaXMwK Nbbg== 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=vpjWfMh6WVSNd7WuO4otuDAr5+L0AB7THxHMc2QuSnoh/s7Zqt4/sbW6PrMMydFXlh BxjcRodEP5/bYsvvh5+yyD/PG3BjAjizho92fV7D0nSnBhaby0k8aJdUfWmUw7i9bqO4 QMaXWTrRqgdn+VNlUuNUksEWH3Ahj/BR8Er3cqgeVEvJAz89FQ1moUurxMAv+CbWf4eU 5RIc3iL3lkLEe2AOQzlw5jgcoe0DP4+sDNBgv5LK0zdHyHFcadEHvCsZYmmksZ4g3gh6 jsm9ksS+aA7/n0RNHO0Ji8mCP/686L2wZCvbgL8hI5rLpe5lodYNzM4VaCKE307P6A61 uDMw== X-Gm-Message-State: AOJu0YwnJIKJYlJsQGuFOr6cnaGrgA7e/G2FJMfYKsm43GmfMYixKpvo W2oOza7NQ67v86iZK9EBq0Ts3rpyxsUJr3Nejw0+SBeNklN+yDU5yLqmK1Gz03M= 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 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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>; + }; + }; -- 2.43.0