From nobody Sun Oct 5 12:21:15 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A052A28FAB3; Mon, 4 Aug 2025 22:20:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754346046; cv=none; b=mJiUbcXjuyjRl/cPiaFXFALIoEOudF0P279C7bRFmk7Tw1K0PIasAaFN9yU6+1+6EPqR3oVP8UqB98FOmfs8ptUYJ/gzi/bn8h3RdISOYWsOhEm6VRov00wTf6NYzgcb5CthEp8pYdws0EP4wJcgOx7DW6WebQtFfHeBtPq68Co= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754346046; c=relaxed/simple; bh=2mn5RqVbUfym8V59eqVfDF+BU2PEE4o4r392r1lvcAw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ttG3zu+UnQwfhXfDg9UFrUpich9OFQi7zbIIZtnG5q4OdVO24kbmOiiVubJ9yJIdXuDJaGddQwoOZ6FW9WAgsKxtVr8eoIIpPtVLA+8NXz2+PP2hvIABTStcyAuLfSQZAprY6By9WxncTiWV9njfQesfAsI8tje4I7tWuy+JmSM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SKJMQtCJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SKJMQtCJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20034C4CEE7; Mon, 4 Aug 2025 22:20:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1754346046; bh=2mn5RqVbUfym8V59eqVfDF+BU2PEE4o4r392r1lvcAw=; h=From:To:Cc:Subject:Date:From; b=SKJMQtCJfRgnzXyZFcASx2TXB6KCWHzDson+Uga4ox3EpXUAYcH5vGUorvG4/KZx+ hXtMn/IDAJZ5BixV9D3I6KDE0eim3/cGvZ6fwkjznfbWjDqqHZu8CYM/BicEMq2LEb vETud1INyotWAtxoLtzZ3fx5RCDbMjla0+ljxfxc05coEgKVmTiPW5Q86SC25nQSRx lcFg/B0wyIujx6u298MLnOlKbo2cyEWdrOWJUGO5lvX1BOVRYV+3dJKzzcX4s5Mxxu pcGh6IWzFPiG505JJ4IabrgpGyN/Cb5sAvGiWFVISMLIZNEaMn8yddApgIr86dmxsP rYoBZxlDW7THQ== From: "Rob Herring (Arm)" To: Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Mike Looijmans Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: clock: Convert silabs,si514/544 to DT schema Date: Mon, 4 Aug 2025 17:20:40 -0500 Message-ID: <20250804222042.4083656-1-robh@kernel.org> X-Mailer: git-send-email 2.47.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the Silicon Labs SI514 and SI544 bindings to DT schema format. Combine the bindings into a single schema as they are the same. Signed-off-by: Rob Herring (Arm) Reviewed-by: Krzysztof Kozlowski --- .../bindings/clock/silabs,si514.txt | 24 --------- .../bindings/clock/silabs,si544.txt | 25 --------- .../bindings/clock/silabs,si544.yaml | 54 +++++++++++++++++++ 3 files changed, 54 insertions(+), 49 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/silabs,si514.txt delete mode 100644 Documentation/devicetree/bindings/clock/silabs,si544.txt create mode 100644 Documentation/devicetree/bindings/clock/silabs,si544.ya= ml diff --git a/Documentation/devicetree/bindings/clock/silabs,si514.txt b/Doc= umentation/devicetree/bindings/clock/silabs,si514.txt deleted file mode 100644 index a4f28ec86f35..000000000000 --- a/Documentation/devicetree/bindings/clock/silabs,si514.txt +++ /dev/null @@ -1,24 +0,0 @@ -Binding for Silicon Labs 514 programmable I2C clock generator. - -Reference -This binding uses the common clock binding[1]. Details about the device ca= n be -found in the datasheet[2]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Si514 datasheet - https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf - -Required properties: - - compatible: Shall be "silabs,si514" - - reg: I2C device address. - - #clock-cells: From common clock bindings: Shall be 0. - -Optional properties: - - clock-output-names: From common clock bindings. Recommended to be "si51= 4". - -Example: - si514: clock-generator@55 { - reg =3D <0x55>; - #clock-cells =3D <0>; - compatible =3D "silabs,si514"; - }; diff --git a/Documentation/devicetree/bindings/clock/silabs,si544.txt b/Doc= umentation/devicetree/bindings/clock/silabs,si544.txt deleted file mode 100644 index b86535b80920..000000000000 --- a/Documentation/devicetree/bindings/clock/silabs,si544.txt +++ /dev/null @@ -1,25 +0,0 @@ -Binding for Silicon Labs 544 programmable I2C clock generator. - -Reference -This binding uses the common clock binding[1]. Details about the device ca= n be -found in the datasheet[2]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Si544 datasheet - https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf - -Required properties: - - compatible: One of "silabs,si514a", "silabs,si514b" "silabs,si514c" acc= ording - to the speed grade of the chip. - - reg: I2C device address. - - #clock-cells: From common clock bindings: Shall be 0. - -Optional properties: - - clock-output-names: From common clock bindings. Recommended to be "si54= 4". - -Example: - si544: clock-controller@55 { - reg =3D <0x55>; - #clock-cells =3D <0>; - compatible =3D "silabs,si544b"; - }; diff --git a/Documentation/devicetree/bindings/clock/silabs,si544.yaml b/Do= cumentation/devicetree/bindings/clock/silabs,si544.yaml new file mode 100644 index 000000000000..f87e71867108 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/silabs,si544.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/silabs,si544.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Silicon Labs SI514/SI544 clock generator + +maintainers: + - Mike Looijmans + +description: > + Silicon Labs 514/544 programmable I2C clock generator. Details about the= device + can be found in the datasheet: + + https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf + https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf + +properties: + compatible: + enum: + - silabs,si514 + - silabs,si544a + - silabs,si544b + - silabs,si544c + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + +required: + - compatible + - reg + - "#clock-cells" + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + clock-controller@55 { + reg =3D <0x55>; + #clock-cells =3D <0>; + compatible =3D "silabs,si544b"; + }; + }; --=20 2.47.2