From nobody Sat Sep 13 22:29:24 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63983C61D97 for ; Sun, 29 Jan 2023 16:05:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234881AbjA2QFr (ORCPT ); Sun, 29 Jan 2023 11:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230223AbjA2QFp (ORCPT ); Sun, 29 Jan 2023 11:05:45 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8F9C1D90D for ; Sun, 29 Jan 2023 08:05:43 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id f47-20020a05600c492f00b003dc584a7b7eso455628wmp.3 for ; Sun, 29 Jan 2023 08:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Hm5mrI3RgpwLUAtsZnlhddw9mw5PRfzcGs1n8G6C6S4=; b=SZ64e+Kc6nziZJCeyHf85r6SvB3DuSZHahZ4qIy8zToRjMTrpwIJr2byTCTV5lOakk NcUszeGBNXuO+J+asj7kVp8odelPcBHKdblLr2DfKTvLOnwqFq/MTc9Ac4sjQZhRsfP3 ThS72xkjYj6uTXN86qPiNqjhnsJ10P1tQMoij+OSBBoys1pGcbz09PXLBX5AzKowXoll qUFgR6rKs0/IYyrRHyFtFmBvPWObtmAoSwUtfjMkNzk62WqeP4/np/FVSAF1yArPyKuw 03PWSIepgB14C8t5B5raa6FqPAcVtK40wG7pEUM+NqB5XMkHmH2hxEnTv2Ri7YcqRFB/ 3p2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Hm5mrI3RgpwLUAtsZnlhddw9mw5PRfzcGs1n8G6C6S4=; b=3JWIFhHdqLe3c4AdQvfXUBjPZkn6KbD2GRpx5C/qPzcDHNkjvrp4cOq4V5xAYn7+IT Bm1y2zLxZNaof+o5n1yYqZwuLc6y2k542Pkab3umKyMsEMc8jcOUKinbuQPdpevSXivy iiH6AW/BwXARWtkctYSNjPd5x7Hfo2ak5fKyuVbs/9Hu4Pzd4nOwfR4vXy5L6BT6VbEb hWZLsaoAohd2C+ZA6r3gKZtIOwgKp+gZnOzPwjS/yVChUzTbgD30t8k/5d+5bHzLvZd0 1DSIbBssclzicdzbijZyvrSiemAFbxVKJ0vx4rRSkRbCUFrEYumHDgQ89wdkyh8wjSzI 3h+w== X-Gm-Message-State: AFqh2kq3vNJyAD5CCrMS7ua7u2wQ/siCoINzJyOclJ1F5KUxuS40lMjZ Zf3GCo+l/z6LpJ8cOceLDnsFRg== X-Google-Smtp-Source: AMrXdXvBpu2ZRGTQqc3v4lxW5p3SrvUYCCzJxj+bvgjNvonJMkC76GUT/EmB0YdJppmSxKWUZfqq7w== X-Received: by 2002:a05:600c:34d1:b0:3db:1434:c51a with SMTP id d17-20020a05600c34d100b003db1434c51amr40669786wmq.40.1675008342320; Sun, 29 Jan 2023 08:05:42 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id s15-20020a05600c384f00b003d9de0c39fasm15734648wmr.36.2023.01.29.08.05.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Jan 2023 08:05:41 -0800 (PST) From: Krzysztof Kozlowski To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2] dt-bindings: display: bridge: sil,sii8620: convert to dtschema Date: Sun, 29 Jan 2023 17:05:37 +0100 Message-Id: <20230129160537.32275-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Convert the Silicon Image SiI8620 HDMI/MHL bridge bindings to DT schema. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Require also port@1 (Laurent) --- .../bindings/display/bridge/sil,sii8620.yaml | 108 ++++++++++++++++++ .../bindings/display/bridge/sil-sii8620.txt | 33 ------ 2 files changed, 108 insertions(+), 33 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/sil,si= i8620.yaml delete mode 100644 Documentation/devicetree/bindings/display/bridge/sil-si= i8620.txt diff --git a/Documentation/devicetree/bindings/display/bridge/sil,sii8620.y= aml b/Documentation/devicetree/bindings/display/bridge/sil,sii8620.yaml new file mode 100644 index 000000000000..6d1a36b76fcb --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/sil,sii8620.yaml @@ -0,0 +1,108 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/sil,sii8620.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Silicon Image SiI8620 HDMI/MHL bridge + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + const: sil,sii8620 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: xtal + + cvcc10-supply: + description: Digital Core Supply Voltage (1.0V) + + interrupts: + maxItems: 1 + + iovcc18-supply: + description: I/O Supply Voltage (1.8V) + + reset-gpios: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + unevaluatedProperties: false + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port for HDMI (encoder) input + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + MHL to connector port + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - clocks + - cvcc10-supply + - interrupts + - iovcc18-supply + - reset-gpios + - ports + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + bridge@39 { + reg =3D <0x39>; + compatible =3D "sil,sii8620"; + cvcc10-supply =3D <&ldo36_reg>; + iovcc18-supply =3D <&ldo34_reg>; + interrupt-parent =3D <&gpf0>; + interrupts =3D <2 IRQ_TYPE_LEVEL_HIGH>; + reset-gpios =3D <&gpv7 0 GPIO_ACTIVE_LOW>; + clocks =3D <&pmu_system_controller 0>; + clock-names =3D "xtal"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + mhl_to_hdmi: endpoint { + remote-endpoint =3D <&hdmi_to_mhl>; + }; + }; + + port@1 { + reg =3D <1>; + mhl_to_musb_con: endpoint { + remote-endpoint =3D <&musb_con_to_mhl>; + }; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/display/bridge/sil-sii8620.t= xt b/Documentation/devicetree/bindings/display/bridge/sil-sii8620.txt deleted file mode 100644 index b05052f7d62f..000000000000 --- a/Documentation/devicetree/bindings/display/bridge/sil-sii8620.txt +++ /dev/null @@ -1,33 +0,0 @@ -Silicon Image SiI8620 HDMI/MHL bridge bindings - -Required properties: - - compatible: "sil,sii8620" - - reg: i2c address of the bridge - - cvcc10-supply: Digital Core Supply Voltage (1.0V) - - iovcc18-supply: I/O Supply Voltage (1.8V) - - interrupts: interrupt specifier of INT pin - - reset-gpios: gpio specifier of RESET pin - - clocks, clock-names: specification and name of "xtal" clock - - video interfaces: Device node can contain video interface port - node for HDMI encoder according to [1]. - -[1]: Documentation/devicetree/bindings/media/video-interfaces.txt - -Example: - sii8620@39 { - reg =3D <0x39>; - compatible =3D "sil,sii8620"; - cvcc10-supply =3D <&ldo36_reg>; - iovcc18-supply =3D <&ldo34_reg>; - interrupt-parent =3D <&gpf0>; - interrupts =3D <2 0>; - reset-gpio =3D <&gpv7 0 0>; - clocks =3D <&pmu_system_controller 0>; - clock-names =3D "xtal"; - - port { - mhl_to_hdmi: endpoint { - remote-endpoint =3D <&hdmi_to_mhl>; - }; - }; - }; --=20 2.34.1