From nobody Fri Sep 20 01:23:15 2024 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 55B0518F2EA for ; Sun, 16 Jun 2024 13:19:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718543986; cv=none; b=uEp0R9pDde39kLjOe2992jUfES9fvFHWV+phHZm15HPKtatL3YyuMn1eAmKtI3gWZKA3UhODqvYXZavwWvhS6yXg/2AOLNw6c6roUIu8dYu5Y+RsXHxmBTxU4gWsfSkqUEkd2znKR0tz6fcjddmBascPLUtoH2EkuaUpOQanzAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718543986; c=relaxed/simple; bh=dA2BvNuDdbIFKkStpUlyQC5zc7XFrh1545e/AvgMWBA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DagQNiGQYNTIHgKk07+40qkcdoxWRDv8VGHwfsV2NRH+dS08raDMiHkMEghkpJSEhv6v1DNqADMWDhaqMtqBrqZkKvYpVIirDKRfEgYKoslbfNBbhSQEGAKTYs+5Y9glxrEODRJBC2nPG5pJ2kmzUmCTtQxfGcQeCopUpcBZUVI= 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=UXX0GhaP; arc=none smtp.client-ip=209.85.208.43 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="UXX0GhaP" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-57c6011d75dso4292711a12.3 for ; Sun, 16 Jun 2024 06:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543982; x=1719148782; 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=Zrd8K+qyBfVetpIrLm6qlKeNQKmHjz4ob0FFgn8jaII=; b=UXX0GhaPDgc1uBceNGT1uF4XTKHZihPdK6ubHgCSlRlRIxi1xlC0L09j1e5rpujHkK lziLRRjRDgfUnLnCh5l7d5sCqnt08pEISJRS9aI66zj5XQALtfAtEfHs8prcw28AZnbp jCWXhBUgRCGYWJhbUuoXwKYDHleD4EzdLDTxg4M/jacNkgkI/I5G9T2MNen+5i0O/3Jq 4iEtg5F92Wue3NKFyLdRvuWFJ4f+GjbWObyJ64pO0uJg1FF08wzZP8PLyD9avDNjiryi dOKSJCQoprF8xqhpdr+/XqT2K3+ptG/NuiFUxomcKs3+x3PGh8qSODcADlHoxKV3HeEZ 5ITw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543982; x=1719148782; 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=Zrd8K+qyBfVetpIrLm6qlKeNQKmHjz4ob0FFgn8jaII=; b=A2yBba5Cet+aJ1OPT2jNi+GqvUKtJNFxrE6hxlV9rGZ0k8tM+hv9gHLlgPhEIftySc 47FabWKxZC87EprmRITyQIvkEpTvm++NhiskA1MelFwng2qb9g37MOQoelGr/PcGvYQ8 VYlIQLwtTdVRBfaa0nsGJd7Bub82CgOj6OOilLjFBOMu/lu0plrOcu0nG458aSqOyplY 8gdlbD7++5UTQXIgvWdDYXgkfkO43qNMiX7NKeMKDEsTQY0FsLThB+sb121EpC0q8DWf dTIKcJPUauefk37SbPh9ucY77g/+K5e9YKY08yYIVgOFhjg9XluPOJhaJvP60zhAuUgm ZROg== X-Forwarded-Encrypted: i=1; AJvYcCXx3TLZKtfFcwx8H6L+EqN2lqPmaLtpH/1jsjoNP4YIbXZIKGK7LELOGpsaPiEId5h5P1QDPgh1FSRUQksK22+n8H6FRmQ0Mhspx8NZ X-Gm-Message-State: AOJu0Yz09AqXV1vATVbzZBPOGkYu5dxYexh+Z0DU/dp7hdq3sdgEcmNX kgXyTaYSLbtqcIMnNj7FHR+MoJaU0EvX3rWyjdyIIwGnrX3MjyKqMhm889Ntk1s= X-Google-Smtp-Source: AGHT+IG1AznA+Lz8oKbRyPDepmptaEHOWEWQisNJz6RK9g8E/VHYfQMB1p5/XhswdG1VwZfzoBzPbA== X-Received: by 2002:a50:d742:0:b0:57c:75a1:2a14 with SMTP id 4fb4d7f45d1cf-57cbd681bbamr5002360a12.12.1718543982620; Sun, 16 Jun 2024 06:19:42 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:41 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:25 +0200 Subject: [PATCH v2 5/7] dt-bindings: soc: ti: am654-serdes-ctrl: Move to dedicated schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-5-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2452; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=dA2BvNuDdbIFKkStpUlyQC5zc7XFrh1545e/AvgMWBA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZhdw2OJqKWPIez7Bw4c+bpBIlOWqahFa6N3 vt1eSNm7wCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mYQAKCRDBN2bmhouD 17EoD/94eOpZAXKoTf2ia7EdDFmk+pBWWwdfyOpIq7Ksp9V4d/pv7Di+qlNkb0wzLNuUQaEy9Jf 8Wxyaw9fXUuFVQMzoWdzGo+Og3ShTXhXZrLO1SGQHNKZzJnZM3ddfNRxLXkUBDKJw3d1S5z3kDB UcyIPeE+/O1JW3+GLJzjUyMK54R9oYMg5khXUqHfVAusjzWlw5CvND4FIy9zH02FxN9HEOVCGSR MlleH3QxqZn9eI4HwwfwiO3Wqpf6PKy63HbglbvAt6LvrBGZAjmuIRRJgbz3AMo7dq6xDMj63e+ CarQdQv6dn+FjXjM9aqLJymAqTmNKroi/eX4qBQ2Mn0t/t+9n+FO9qjnFp+0r/QBffYNQqmIAKH JnWWakdxz6UEltnAqADc0XFQd4Hm6RSM+Mq9WsrVIcTRGMW7+nEAMQVonhxKEhT4ydv7Oyye0bm cvNU4CtmWlZuM3onCm0q61ypX3115EnlOVJMIv1UfCx6pfL1RPxP1fZjTX8RcSR14Fha0ZaVlSY IiYAYMPa8BTrJfUOOYGVGsfEvu7kfJR04H9w5JoAwIQudTPsNbW6hOS2/6etb2gVcy9bBWb3np3 nzN0QIx9OsjmU7oM56jv4UUqp1/My72/sbBtb9FqVv+sZHre/B+VF1alm0BlhuC0UBS5b3nUF/R +UoL/+AQ81t75cw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B ti,am654-serdes-ctrl is not a simple syscon device - it has children - thus it should be fully documented in its own binding. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Context might depend on patch in Lee's MFD tree: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@= kernel.org/ and also further patches here depend on this one. --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../bindings/soc/ti/ti,am654-serdes-ctrl.yaml | 42 ++++++++++++++++++= ++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentat= ion/devicetree/bindings/mfd/syscon.yaml index abd3debe5faf..d6fa58c9e4de 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -117,7 +117,6 @@ properties: - ti,am625-dss-oldi-io-ctrl - ti,am62p-cpsw-mac-efuse - ti,am654-dss-oldi-io-ctrl - - ti,am654-serdes-ctrl - ti,j784s4-pcie-ctrl - ti,keystone-pllctrl =20 diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.= yaml b/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml new file mode 100644 index 000000000000..a10a3b89ae05 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/ti,am654-serdes-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments AM654 Serdes Control Syscon + +maintainers: + - Nishanth Menon + +properties: + compatible: + items: + - const: ti,am654-serdes-ctrl + - const: syscon + + reg: + maxItems: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml# + +required: + - compatible + - reg + - mux-controller + +additionalProperties: false + +examples: + - | + clock@4080 { + compatible =3D "ti,am654-serdes-ctrl", "syscon"; + reg =3D <0x4080 0x4>; + + mux-controller { + compatible =3D "mmio-mux"; + #mux-control-cells =3D <1>; + mux-reg-masks =3D <0x0 0x3>; /* lane select */ + }; + }; --=20 2.43.0