Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1048050lqe; Sun, 7 Apr 2024 16:54:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXI5I53ATzaIdUYHtg5PPKLL/zBLBVv+5TdVy5hZi98wkqNorL16KhTVd/mHy4Y1P48Wih50X6H+nnTKZdjJxdK3QJ5S5KTTb/hDCVSNg== X-Google-Smtp-Source: AGHT+IFilsSj/3NH9DcGGU6Il3R1CCfUaqmVxoNMHCezqM3N+kF5eRGIpSHCgbcgvDqhzvsclGKq X-Received: by 2002:ac8:5fd6:0:b0:434:9dae:dafc with SMTP id k22-20020ac85fd6000000b004349daedafcmr1913041qta.41.1712534054963; Sun, 07 Apr 2024 16:54:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712534054; cv=pass; d=google.com; s=arc-20160816; b=vZgxSEIxBa72xaMRF3UWhHlUkUXZ1BI0qlyrq5JneQ91N+UBheXa/A3eV1aSVCSAhy sbptrAlqGnc8aJHPbgRNjjRZ1Hezee4zekyGzgdFDVDzTg/zg5VGnmeUhf/RzURfvusP 5Ja6If6vPfS22rZPOFqgzvLymEP1ccjzmM/yLbQVWjz8PZFAVE87rJh3pniVkbO9/kK5 4Hseq5WChkPek3dl2lpfggEjv8FBuUnSodDNvQrhNroCvsXAFhhE/DqfC7By4mbXQPtM tPVnZBw5dxtSeDygx9L4vZ7uYLMJ0Ne5Vlrx6UhtZJe5HrMahdk+IlRJupvXD54EmgpC M/Hg== 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=OOB/W2al4fAWY1hZvIX+eyNZGmg0uhdq3Rfxx+fRp2E=; fh=DP6CNfssj6u/ZS9amR7HG0BaFNP5W1G56wT2c3RsSwg=; b=MFEQFb9tM/DUoNlNVyoRbtsLL/fLhGkS3Xs4OS1ZO87Zt50ELhXdwI8nvY0D1+LkVu 4pzeS+eMFVCjWDIhNtBr+Z+ma17u7s/LDLaOGfKZCoT1R+tEkV87nFnJbX/kYgCLlDsV m6InU59LWeoaZBllbwlF03sJVFc7RcoZj8Gzv0Gyre5dU9xDxvhvzePA1ec13EzNSToD 485ES8sonj9Gu9HKItszeX9Bw8S3+23+MtroSpnQA6uRoZqrFRJMOD6ayWVFAfNTp6yK np9j8Vi6uirKS9y3Jj6ljREfN9TVgwltwwOSZe8yHg2XHCg41L2EdJNBBCohhK57v+p3 eLlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SUQ4+4LM; 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-134675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134675-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 y18-20020ac85f52000000b0043282d4bc20si6924153qta.727.2024.04.07.16.54.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 16:54:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134675-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=SUQ4+4LM; 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-134675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134675-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 A17B31C2089B for ; Sun, 7 Apr 2024 23:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBFB647F7C; Sun, 7 Apr 2024 23:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SUQ4+4LM" 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 D7582446B7 for ; Sun, 7 Apr 2024 23:53:54 +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=1712534036; cv=none; b=J13MgEdTUtlTvf+jY6oh0JGyXh8RUSEFQ/WwQ6umXJLFFMLHSnkUDkilPzbbBEjgz+X7NZ37/d9x0LoNhw0ckvm8bkuki4K2FTyWJk8wWRFK7yIAWo/f4GegncwShb7l5dRPXWZTUs5BcFAQbpDN8zIR5RDCH5rijBywmxAlH9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712534036; c=relaxed/simple; bh=vWEb7jmHKp7plqaXgrmEtB1TTF7h90FJxtovdzgscyQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UxnEkVv0Vx8jTg3RrGPsHupCxFrIJSarIixG0DSlp/NV6yBvBHFTKxiuTaq72BKud3Y20e1VTCUK76NDLtrDaOPGHytVsZ6JXE4qBPeiBv4DP0sCYD5t3MrmOHvh/FzsXuXvtT2xvgvHoayNlCO21nzEvsMM4Eyaqn3bc373Ecs= 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=SUQ4+4LM; 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-516a01c8490so4182633e87.1 for ; Sun, 07 Apr 2024 16:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712534033; x=1713138833; 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=OOB/W2al4fAWY1hZvIX+eyNZGmg0uhdq3Rfxx+fRp2E=; b=SUQ4+4LMej25GsktyhxYf0h/qTpLd8pQJ91XZjKG3flZkKkhy/AaZLx5nOPBOb5CMS +TJX8q3zRkwZmgr4M2C6G/+FUsW2kQq9RR6Gcj65gDWkl+m+gRHDrHC8iOhcCPdRq+Ga lbqZQCxiJ4cuXyDa6D+/XdAEWnvbP2DwhAMO9vHdXaCCONo84/96KUTSmA0BjJNShMzy 4ZlZAONsBz1MELK48JPnODln7fKncrRIEUEGnckylkQimuJdb43SmCCm0OfFjW+iEdPg Qdjmpw+nQ9i+YJ43re+XeywKiXBsizKhDyO8f+w2CXtydpXHhzkzUTh9ltpwEaoL5nCw f8LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712534033; x=1713138833; 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=OOB/W2al4fAWY1hZvIX+eyNZGmg0uhdq3Rfxx+fRp2E=; b=pBi+y4S/ZebWu6Fc88YHosPyTxZr1FVPFvHLu4o87mXld//D4t86EilCGwGDpzFodi XnW+fqNvlxfZEi3KL8gYGycx2kHZP7pRAPcJY+KeMl56/oXPBq5h0o9S7Qhum3Z3BXP6 eT+VT1Xlbo4bmM7WhJxcBkidtbEMryDoB/Ypc7xTOiTNhtXXoCKzauDiEYmWNyL9lwJ+ Pa1NLfp0id4zWN06mutDiCZ/lj4HuEdZPIUWm2e+wv1tIOKWdmFvxSv92RWm9IAc+CtZ U77dcYAg0vim18SecxRJl5WcvEZ0io1ThkdPkY8iZwrA8Y4aFveHbl47inRpETB1/bOC vUGg== X-Forwarded-Encrypted: i=1; AJvYcCXmPGqDMGnnmysF9OWB59+DCgzWK6KG2Zrt5xaRL5d9IZM2/E9tBVGrfrNP3jinq0b6chRvTG34B+Fy7/VAq7J5mSJyXafvqClU2ebB X-Gm-Message-State: AOJu0YzHe9b0aguI/gO43pJVwepFvDqZwH2r+GV6vN3ubu45qfJVaRBS OIvKORsQGQnjpECYdz3ZHV6cx32pNyMBYw1mZ+KcI4vsdyoytP4DFbiM0w+udHGFRrf7AMYQHaQ C X-Received: by 2002:ac2:44d9:0:b0:514:b624:5d36 with SMTP id d25-20020ac244d9000000b00514b6245d36mr2217144lfm.32.1712534032652; Sun, 07 Apr 2024 16:53:52 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id t27-20020ac2549b000000b00516b07fdc26sm965696lfk.109.2024.04.07.16.53.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 16:53:52 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 08 Apr 2024 02:53:50 +0300 Subject: [PATCH v5 1/4] 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: <20240408-lg-sw43408-panel-v5-1-4e092da22991@linaro.org> References: <20240408-lg-sw43408-panel-v5-0-4e092da22991@linaro.org> In-Reply-To: <20240408-lg-sw43408-panel-v5-0-4e092da22991@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 , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2202; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=GwVgZdE26NDUHVKCdQIs4DldqMTJkpU3Pk/WgyxXJjg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmEzIOsWZE0K6uxILhzHgEr/EN647OWFab82UmR AyrlutwlYCJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhMyDgAKCRCLPIo+Aiko 1cfEB/9qTNSpJTLxEWDO34OifP37mWXh2knrveFUXkNPOwZnHoUWkEILGgPqYqazzTe3OuH6umb pydAY9tIgE+K9P8+dnKNxHOoL4glYzY3UBc3Y9mnbYmMC8avnPvzmZUYGmEuVlM5DtEC9zNJfdQ ap/+i87+GYqE+zyPmK1vKsuFf+ez2Z/LSmgt2jbCSEHkQ1wKhNMwCEYBzvmORhHWosl824MEOCO wU/NYpatsxsPS+B1K4xt+wjROTH9iU1buyX99DKQX2Bn6GyQ8GBo4Y/j/V31WQuPghZW0SNYPQv z1z+v6cYP/a6OxQ04iIpiW7Hl55SUgtCEj/tR4Ba4gobAJg8 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 Reviewed-by: Krzysztof Kozlowski 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