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