From patchwork Sun Jun 30 18:36:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 13717261 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 ED8C915574C for ; Sun, 30 Jun 2024 18:36:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719772605; cv=none; b=tZ9SlIKq6CXxdL6o8XgX8tFuQtPstyskBH40RfCMUN8qZ+5dqca/Uza3JsUONq1rPWgDmdYikBzuzIZrAO4R4dx7IcXBfz8+pDWxXYixkxMx6cZvKaljasGcNhT02QtOunmAKuF0fdCsP0dChj0GK4M6PO60CJhQyf8XhZIJzVI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719772605; c=relaxed/simple; bh=arZv7vt1rR4XnSFoV4a11i3btIAXQX7jpGRdlhwlkkk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A+mHlKGexIzyvn+q+mXoJYDwt/dqGqycrXleJreJ0dass8CNfYhMLmsnY7YnIVIaVgkFRiiNR3HIGpV0sez/jQy8xp92dryaDPU7lP6mYrSp2MM+KRqUftgJrrpaOtjOJGxIQu8SS3tFl4ozWdxKHS7AW80j0qisDjaLjf1SO2E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=YAIX0Ezf; arc=none smtp.client-ip=91.218.175.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="YAIX0Ezf" X-Envelope-To: robh@kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1719772600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5YqcFbMJPQOyPCi7l9KNgfXa8T+1VUu7RUN/CRN/b0M=; b=YAIX0EzfrWyiG5RdjzpdTVeeZBhtotuv5TzuFkfPTo7vBWP5MVz5zQY1S2b23LP4wVt+3a vJPsNylbvoeWl+kkMlP4IfuO41cCpeu2KVv6eGaUw0Q3nyiyeOHsa7OR2n7g0FxKNl7jZJ 6cV3Q/EVXzsWuFvM1pFVFVXyDiOSXrKu3i6B+HqAjfohaNFWMyoyAOVuuyvbD4FP2fz64W IJvSVhPjdCWw0WX5hBQrfw3Lfw7LJxT9d9Iu2CBV+dAZtr0qEz5vQ+7aHeDOJyIqo+Phf7 zU1BTpuuch4QGs+SGlsKRamptYFz/fBzL30Mnfderk715zUxYXVr70msN1yecg== X-Envelope-To: conor+dt@kernel.org X-Envelope-To: neil.armstrong@linaro.org X-Envelope-To: daniel@ffwll.ch X-Envelope-To: ~postmarketos/upstreaming@lists.sr.ht X-Envelope-To: dmitry.torokhov@gmail.com X-Envelope-To: linux-input@vger.kernel.org X-Envelope-To: mripard@kernel.org X-Envelope-To: caleb@postmarketos.org X-Envelope-To: linux-arm-msm@vger.kernel.org X-Envelope-To: krzk+dt@kernel.org X-Envelope-To: dri-devel@lists.freedesktop.org X-Envelope-To: rydberg@bitmath.org X-Envelope-To: konrad.dybcio@linaro.org X-Envelope-To: maarten.lankhorst@linux.intel.com X-Envelope-To: devicetree@vger.kernel.org X-Envelope-To: dmitry.baryshkov@linaro.org X-Envelope-To: tzimmermann@suse.de X-Envelope-To: airlied@gmail.com X-Envelope-To: quic_jesszhan@quicinc.com X-Envelope-To: andersson@kernel.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Caleb Connolly Date: Sun, 30 Jun 2024 20:36:24 +0200 Subject: [PATCH v2 1/8] dt-bindings: panel: document Samsung AMB655X Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240630-oneplus8-v2-1-c4a1f8da74f1@postmarketos.org> References: <20240630-oneplus8-v2-0-c4a1f8da74f1@postmarketos.org> In-Reply-To: <20240630-oneplus8-v2-0-c4a1f8da74f1@postmarketos.org> To: Caleb Connolly , Neil Armstrong , Jessica Zhang , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Bjorn Andersson , Konrad Dybcio , Henrik Rydberg Cc: Dmitry Baryshkov , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht X-Developer-Signature: v=1; a=openpgp-sha256; l=1943; i=caleb@postmarketos.org; h=from:subject:message-id; bh=arZv7vt1rR4XnSFoV4a11i3btIAXQX7jpGRdlhwlkkk=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBmgaWz0wWKBpv3QkqeTHYFGLxOMM8F+fMWZIgI/ 31zEok0XT2JAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZoGlswAKCRAFgzErGV9k tuJAD/kBwFfzoQJ0rprMD1nLHBF8QxFmSZva0HikjV4re9t/zIrUxMsdktBHUteQ+avKNEDJ/FF 5a0bxCcmPRPxxbXb+19HpdhqtIFyykvl/ysSNF2RRO7K0tyLaSZ04mWUAP1cV8jg8e1zNsqp0ni tkCe3EqSQwyqOFMZ8WtK9UbYkjDyfEJyxvtiR+tQ4QA5pd3HyBEcu5mda60us6bq2y0StLPTHeE +WjySRjaD4nRuLAQAK6s3RwXjlT06AgYupJ6artzPSD/SpmlFe7fYufZ//eLP47AUTfgplMvHgC Vc94Vjx+0bu1hV5TDPhb9fa71KUJq2TgMrCGUVkXFAS8ny7Lo+GmPbk/q53cy1ZTJKXNrhLRp+w yYIoiyMybIIYwRil+yUCbztB03aKPbuD+s5nVLdLgGU33vDJsdFFumBIIiZs4HXsDInmpA/6J7v T5jFBlkgQd2C8Co70iaNINpdEVsQ2cHNRxvkT3/Rmc6EHUNsQhJM2XQshQ8n/rgm/dHtPaGQT6u uBHhtoisqi9iAsixMnbRxRqPOr7ei/TSHvpW1UxWZAE51JnDeQXld4u/LPWicaaMAqC/prMDj8w dFCLdQbBZDcy+4FUexLYAmly3wExyR/wIWhyaXxs2L3ry+glJFKExQ4z9Aq2H5Pv20m0xusA+7u 6DApVTgSc1PC/Eg== X-Developer-Key: i=caleb@postmarketos.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-Migadu-Flow: FLOW_OUT Describe the Samsung AMB655X panel. It has three supplies. Signed-off-by: Caleb Connolly --- .../bindings/display/panel/samsung,amb655x.yaml | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/samsung,amb655x.yaml b/Documentation/devicetree/bindings/display/panel/samsung,amb655x.yaml new file mode 100644 index 000000000000..085ad02ac74f --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/samsung,amb655x.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,amb655x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung AMB655X 1080x2400 120hz AMOLED panel + +maintainers: + - Caleb Connolly + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: samsung,amb655x + + reg: + maxItems: 1 + + reset-gpios: + description: reset gpio, must be GPIO_ACTIVE_LOW + + vddio-supply: true + vdd-supply: true + avdd-supply: true + enable-gpios: true + port: true + +required: + - compatible + - reg + - vdd-supply + - avdd-supply + - vddio-supply + +additionalProperties: false + +examples: + - | + #include + panel@0 { + reg = <0>; + compatible = "samsung,amb655x"; + vddio-supply = <&vreg_l14a_1p8>; + vdd-supply = <&vreg_l11c_3p3>; + avdd-supply = <&panel_avdd_5p5>; + reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; + + pinctrl-0 = <&panel_reset_pins &panel_vsync_pins &panel_vout_pins>; + pinctrl-names = "default"; + + status = "okay"; + + port { + panel_in_0: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; + +...