Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp550008lqz; Sat, 30 Mar 2024 08:01:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVyCNreZrttfBeBPPgGM6FQ4zY7zDCpSYWSm60edg/8/Vl0IgwW5A47ikwwmBTvBRWOqU/DjYSYG9mEE/oOsTCP065ohnBUiQO5qRXyMA== X-Google-Smtp-Source: AGHT+IGcNbkEhFuTAdGs9LsjPVwy3lWvWAUueH7KarpCSAVn3uvwewuDURns5cm8wk3EUnlN9ZtW X-Received: by 2002:a0c:fbce:0:b0:696:4b1b:bfe4 with SMTP id n14-20020a0cfbce000000b006964b1bbfe4mr8755045qvp.3.1711810872984; Sat, 30 Mar 2024 08:01:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711810872; cv=pass; d=google.com; s=arc-20160816; b=Hn2g9wvtV/9QXkaiosAifl52heqsifyHW4MVS22WSsaohX9ZKuJAb7tLLtwgjgQN2c LYRWeJpCGfkjkeFL024IBuBdwmT7Qnp/SvEZhCsRnfC1nZ29w7mJ1yd8oX71GdBTb/Cd rDRtibIns7WMK+Hb+JUCJO60W8SOrVppJrpG8CR2jkfdt7WZesiSuJt6AUx7hb39B06z n+cOZzunCaFv/geaWuTyg4V9PTL/8GDhPBC4+tVpOnVXh63t/fqxBotFyTom5lpf7aI5 xABvjUOBAiCY5bS9wLRB7MSOGZ5LYjp1kmK3uwkNpTiSj7J1SO/AhudQzYTqa8V4RReK C0Mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=+eEH0u79NHtVDKA13PPuTSc6hJlgwppuYqct0Olpnw0=; fh=7be+Z5YXg2k9pUjG60LiA9cvcVPMaYUIXUXSfQNvr1k=; b=X17dnoSUOUOMySPl2nN3YpehRxVQeI3YaqmlxK2jIIWRqlvV/xbfzF1tmEgWHFUKbH SUNOCsFWIXojwrBQ6cELglzi6Du4PthXrYgXsPYc0JTA4Lh/691N9cAp1tFuAAjT8PMV +XzHdbZwVtvEBgDMi1Ir8APrV/CpQwZSdVvwkurnWahxrI0BVPGY3958DizA362GMysx 0GJRpKagH4fwJbsN8ICqqEbiFtxwrOYfcDMB1NRDj/6sO2UiWLlUCO+zfb7WX3yC0lq0 o+y7QhRAe7ZiAD5JQxvPDFWkf1Nb06Q0OSyy0LxTBkOM5BNw4S7swDAHNXXVIIS3yZFC 66QA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m6flh9OR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-125753-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125753-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q16-20020a0cfa10000000b0069687e15086si5895031qvn.380.2024.03.30.08.01.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 08:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125753-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m6flh9OR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-125753-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125753-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 95B601C211F5 for ; Sat, 30 Mar 2024 15:01:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 854F83A29F; Sat, 30 Mar 2024 15:00:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="m6flh9OR" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 9749F36AEC for ; Sat, 30 Mar 2024 15:00:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711810852; cv=none; b=I5x+Z8i1xS+qaGsDfmZpFDKIqlm7Dg954XNy0IkL3eeyaqETnZdTn7vE4PeTOadGEuTPIwnd8I7xyAvBxVSuKaly753dbybc2V6+zQkNQqaVkfE7dnWEQUyC5hcSOMcBDntEwMotb8gZxaZDcpSY9XKSS1fmZ4vhNi1k3/OyVww= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711810852; c=relaxed/simple; bh=HU+wa7woAnHSS2dl5LU/WB4CeOKcUqRCEklmEfoGWUQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D8WhK6oQiVJrW9cMoB4ytPKxfL1x/rVmch72VeOXYFv8N8QOqsV/9mFVHniV1d9rcbwiDYUk+KEoRH5crUAfhsT6SzHVPzdviOmldaYI/mlvTrtPdwftvblXrzlMdRgW5FxHo7O+pnBKWwdrMw/Lv7FwwY2Gj+TUG8pXmpWHViM= 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=m6flh9OR; arc=none smtp.client-ip=209.85.167.45 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 Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-515c198e835so3072055e87.3 for ; Sat, 30 Mar 2024 08:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711810849; x=1712415649; 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=+eEH0u79NHtVDKA13PPuTSc6hJlgwppuYqct0Olpnw0=; b=m6flh9OReFCMiA/YZfFoCFO2kYl6I6NhQ/eHN4u7jbBeHK6A1h85erWaFo2gzlVCBV mFSODyoDYdhHAS4BsduBCsx0TYmiZQBHf0HBVUIbAdVF9Tjs1HfYeozQ2Pa9KkjtRWty L0WM0pBYSJKk87yiqoK4Z/TBlASrWDelh51B5TxDiBnxmTOjl0LBSwhM6aoGdOlp6X2m a3dwXnBfWxNpZPMcsJnM9IM75pUHb7RLwPhLub6jf+SCNVbNSMLVrebu551oy+9PhOQd rnDxbNNmQRUvR5piBQVTE2J7b4Q0ew07h96fQ1Dnf3tCQlQtyEwscc4e+T2ZUAuAA5cV AU2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711810849; x=1712415649; 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=+eEH0u79NHtVDKA13PPuTSc6hJlgwppuYqct0Olpnw0=; b=DTRTpvP4s8xCiONjWX/JtNjtPOyT7e/ol7T48vFTQrY3oisheSwbHWmo77uHn2fH9U qbFjcNDn7s/4FXcjEzD1MruMfpvhL3pZBtpxfWiRgQTdTe2nKx+xrAMBL4z1zSlT9XQw FvEY+MraZzRSG0QaSa2xeGfHhC0G5jJXG/3exq1n79e+O1Fohv9W7rd308siTIOWkdEk J7HzJ/ZyTG2+AdqNgh/GkugDZvG1wkKrso9Q5qeGfRq/LR0xKcooJ8+TsFqorv59ScW+ Tw9Jhw/68GL6S5xJmpTJINKc8ZRWdWx9DZuR0HX3PnAakuCTkbV2yMn0JTjGUkL/Sx7A lVtA== X-Forwarded-Encrypted: i=1; AJvYcCUwzcod9z1w338hku9a5OiL9rp5VyBf/yPufByhBsyknwzYO+hlo0/XsYJWn3hE+dNB4CGV0PZgqflqvbLriVNu1pyUaxfSf/yoEQmc X-Gm-Message-State: AOJu0YxkrTk+ygXVOh4glce6TteZ2nxsPGsInYUDXrQ6krmlIJPBoyek YgS2sQidVCQqBh6NK3dMqolZswLp1yAYaAhEEBTGO6/4/i6FAAT8gVXr6h+0zdU= X-Received: by 2002:a05:6512:31c1:b0:513:cf75:2ccc with SMTP id j1-20020a05651231c100b00513cf752cccmr4944654lfe.0.1711810848812; Sat, 30 Mar 2024 08:00:48 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id j5-20020a056512344500b00515d205a6f0sm496199lfr.29.2024.03.30.08.00.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 08:00:48 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 30 Mar 2024 17:00:46 +0200 Subject: [PATCH v2 1/3] dt-bindings: panel: Add LG SW43408 MIPI-DSI panel 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: 7bit Message-Id: <20240330-lg-sw43408-panel-v2-1-293a58717b38@linaro.org> References: <20240330-lg-sw43408-panel-v2-0-293a58717b38@linaro.org> In-Reply-To: <20240330-lg-sw43408-panel-v2-0-293a58717b38@linaro.org> To: Sumit Semwal , Caleb Connolly , Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul , Caleb Connolly X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2135; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=12rUl+2HnN8d7afCUpo5jilPDeMfLdH1F3n7T397uIk=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmCCke8taj0wJ8X25rcsRC2l4+1FyzH+0L4pQEl PR5XN45bp6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZggpHgAKCRCLPIo+Aiko 1dgUB/9Cy9Youl9yPUldBL810Zn8CCZQKNyF9iQbeAOAtEWQ0mzurRp1QWj3JhIgeIEtsvoMTZz ZpDFHdscoQzHkbDfoNYE94D1ikHhhPGT23yTeruJMAGLITZncwrk1BUngFD1tjDpgfQOl9+SkbD X4uBi6Q+IXETGPTWmrn2w95UozYHKavRJFhJEgiSTO474Ffssaay9XvQ6Peq3we1Jk47/cBdL5D uRG1QNXjc1gA8I1kYTR5Z2ExDqlxea/kCr/AiuZb+qEx6o1Vc8FIJq0CY+9ghyypA5tW4k8GcvV 8mDQAHBf5LvJITEFgHGyotsJEB+DGuZan6fpP9Cj7Di3P7RJ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A From: Sumit Semwal LG SW43408 is 1080x2160, 4-lane MIPI-DSI panel present on Google Pixel 3 phones. Signed-off-by: Vinod Koul Signed-off-by: Sumit Semwal [caleb: convert to yaml] Signed-off-by: Caleb Connolly Signed-off-by: Dmitry Baryshkov --- .../bindings/display/panel/lg,sw43408.yaml | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml b/Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml new file mode 100644 index 000000000000..1e08648f5bc7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/lg,sw43408.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LG SW43408 1080x2160 DSI panel + +maintainers: + - Caleb Connolly + +description: + This panel is used on the Pixel 3, it is a 60hz OLED panel which + required DSC (Display Stream Compression) and has rounded corners. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - const: lg,sw43408 + + reg: true + port: true + vddi-supply: true + vpnl-supply: true + reset-gpios: true + +required: + - compatible + - vddi-supply + - vpnl-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "lg,sw43408"; + reg = <0>; + + vddi-supply = <&vreg_l14a_1p88>; + vpnl-supply = <&vreg_l28a_3p0>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + + port { + endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; + }; +... -- 2.39.2