From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 38BD1401A02 for ; Thu, 30 Jul 2026 09:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785403392; cv=none; b=KGi0bpMW4Fmwjay5LsEimdJPpxHtXPuYQ37rrSDVOQFe+edQOnDCU6pNnzJOTGUJ0TYsJ9HF6dXVcoxynd0IUDKZ7HpMWHs/XgL7rsgFjI6/37u5TQEMjAdGq2/6SYMIxRQ+iCOOnSJJnF3fXAGinmZxI4qvOrJfcQOBaS8ftPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785403392; c=relaxed/simple; bh=zGMk33ptHlq4xCsWE/m/Shh7bJRW3ysBOv42NGnt1mI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Xlk7tUjvlkCbcBZJqImU3srGm1/CMLGgrrYqnN0CzbTRBVXb0FsFg7pR69ttuwgrEEn9KRmzsepN7Da+6l3HtRa//z5+2Esz1IQP8pe9I9mf4i+RJHxZSZRuEkBLNN7U+ANjoGdriS5Z5LP/z5pjlJ2uLt2Z6NnFrYHT19h14N8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gXYM1MdG; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gXYM1MdG" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-49558ce01afso12640885e9.1 for ; Thu, 30 Jul 2026 02:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785403389; x=1786008189; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=51WDwBX8UuHOu3YfsGA9ozMS4JtSAKzLcDeFZmmn9U8=; b=gXYM1MdGHGKB8su/sKrTuV1a46AJkb4Yk5TLkmTGg63xpWGRT+8rByYmaYcqxCCTNa nuzhC0+ygeKoGNvc9LksCatwInjrdFtHf7rLTPGBoJEvaJEbdJCyRLTV/LxODZJObtu5 gQVdijSVyH1MaXKI6mWo91jmTpMeefY4m3QvWgxnEcWhuv40UmA3YPRrdis15hQbDKF5 yA702JW/6713l3HPO9KWApVm92aJVBk2nTF/3fo2QqXnkK7eSb269LGD6wOzwKxgI2ry 5dYg2DaBAqxS/luv0CUxusgjski+y++4y38Pe0TAv8UIFX8Xdu4NNlgbptTcLMN6w4vy xL/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785403389; x=1786008189; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=51WDwBX8UuHOu3YfsGA9ozMS4JtSAKzLcDeFZmmn9U8=; b=bz8tHYNBWOMOegF+gt4NWEjztmjglysdIiiJ+QFUNmY30fPBXmysaoIvJ+pNu/aTVD nu2vhvvaEdQT0fq31c/utm4XNHb0+eySxUy1/A3+wmupVOJxuRMsJgbJmz8OS6xzIlmu VHNTlPS0VOJZuW2uuecTL24dsF3DCRfbluHUN4K92ysrxndWb1QhyTB7LftQv4yXBd99 2U5svFyeLe2O5iJhjLI8ORcSNxxaZwhm53NIaIFUW74VYAM3n8IEuOl9IH0W/aW7okpf fc70vcCwx8IEsGl7N7wnoJ5Ek954jbxkQXBssBaNh10ljcwBBNeeOnEI5ZqQ+dKCHyBh H4rg== X-Forwarded-Encrypted: i=1; AHgh+RqsQW9M1DywoYRYPz9UH9APb/xGjQobfgRI2Z0vtfBCLbMYG30xO9OPfAWxq/5Qi/GrIyMFDQLLlKbK@vger.kernel.org X-Gm-Message-State: AOJu0YymqBf8yD1OanuHRUdWK2IMWqgO9H+RRXVir9BIINzjc3JYQxMI 5MYJEP7//2rY1k9XCIAq3dD8MP4bmvqLFcoR4+NFmNKWiEgGp86m0tn7vp5dO9x7 X-Gm-Gg: AR+sD11nz/jc6dzJqwUSFMkGju00ZHJ/tOyXdpLx6lzjlhrhdNizqf/G7iFaEz0IwAX pf1gUDrHtoDfnh6CkYITOR1tTt+QMDf4F1rfUQv+i8dJihi7Zm12U5GBR+ugOib/DthvjqO6Ypo JVrKKWkFsBQ/4mMDRvPDrEeh5H1WcrVFyXcbH9/sVB0/VE5u/8oM/5zyjMParqdisQzBdny8GcA YAjj/HaRNqA1GLh0l9xSosCJ2uzFLVca8NcytHgHf8G3UGgtnXTpkm06BiQRAygq75InDfmwXgY RJVuR3mP1QVZIPelVWJxkHz2pyprdiQAGPK6YNFk4GQNd7hZbq5sFFbZbXXrwfGYcIKzHvgrthF A0d+F0CSKWUgvycmDVR+2XGrqK6ZfzsoVBQtax4GIWCabWMiZbcz8MeGhOReJkSnofor+GJYawR D8WclOscis8VWXb5rk4bD/gz/eRjtXikUbQvIPQxcCBPjvaN7eRkjmjmnwm+8fOy9PO4JXRZoJw d43n3pvfCcmR3GUSMxzDo6HjxxJGIUF7w== X-Received: by 2002:a05:600c:8b66:b0:495:7379:17b1 with SMTP id 5b1f17b1804b1-49800ebb8a2mr21092445e9.30.1785403388303; Thu, 30 Jul 2026 02:23:08 -0700 (PDT) Received: from fedora.tail6d6c39.ts.net ([82.77.79.56]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-47fc88e64d5sm4308425f8f.15.2026.07.30.02.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2026 02:23:07 -0700 (PDT) From: Eduard Bostina To: Aaro Koskinen , Andreas Kemnade , Conor Dooley , David Airlie , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Eduard Bostina , Kevin Hilman , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Maarten Lankhorst , Maxime Ripard , Rob Herring , Roger Quadros , Simona Vetter , Thomas Zimmermann , Tomi Valkeinen , Tony Lindgren Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH 1/2] dt-bindings: display: ti: Convert ti,tpd12s015 to DT schema Date: Thu, 30 Jul 2026 12:22:44 +0300 Message-ID: <20260730092245.52034-2-egbostina@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260730092245.52034-1-egbostina@gmail.com> References: <20260730092245.52034-1-egbostina@gmail.com> Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert the Texas Instruments TPD12S015 HDMI level shifter and ESD protection chip bindings to DT schema. During the conversion, the following updates were made: - Added the 'ti,tpd12s016' compatible string, which is used in am57xx device trees. - The 'gpios' property now allows up to 5 items, as the omap5-igep0050 device tree routes additional control pins beyond the standard 3 documented in the old text file. Signed-off-by: Eduard Bostina --- .../bindings/display/ti/ti,tpd12s015.txt | 44 ----------- .../bindings/display/ti/ti,tpd12s015.yaml | 78 +++++++++++++++++++ 2 files changed, 78 insertions(+), 44 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt create mode 100644 Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt deleted file mode 100644 index 26e6d32e3..000000000 --- a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt +++ /dev/null @@ -1,44 +0,0 @@ -TPD12S015 HDMI level shifter and ESD protection chip -==================================================== - -Required properties: -- compatible: "ti,tpd12s015" - -Optional properties: -- gpios: CT CP HPD, LS OE and HPD gpios - -Required nodes: -- Video port 0 for HDMI input -- Video port 1 for HDMI output - -Example -------- - -tpd12s015: encoder@1 { - compatible = "ti,tpd12s015"; - - gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */ - <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */ - <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */ - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - tpd12s015_in: endpoint@0 { - remote-endpoint = <&hdmi_out>; - }; - }; - - port@1 { - reg = <1>; - - tpd12s015_out: endpoint@0 { - remote-endpoint = <&hdmi_connector_in>; - }; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml new file mode 100644 index 000000000..bda4bbab7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/ti/ti,tpd12s015.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TPD12S015 HDMI level shifter and ESD protection + +maintainers: + - Eduard Bostina + +properties: + compatible: + oneOf: + - const: ti,tpd12s015 + - items: + - const: ti,tpd12s016 + - const: ti,tpd12s015 + + gpios: + minItems: 3 + maxItems: 5 + description: CT CP HPD, LS OE, HPD, and optional supplementary control gpios + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for HDMI input + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for HDMI output + + required: + - port@0 + - port@1 + +required: + - compatible + - ports + +unevaluatedProperties: false + +examples: + - | + #include + + encoder { + compatible = "ti,tpd12s015"; + + gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */ + <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */ + <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */ + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + tpd12s015_in: endpoint { + remote-endpoint = <&hdmi_out>; + }; + }; + + port@1 { + reg = <1>; + + tpd12s015_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; -- 2.54.0