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>; + }; + };