From patchwork Sun Aug 28 20:57:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 600895 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 4160AC0502F for ; Sun, 28 Aug 2022 20:57:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229813AbiH1U5h (ORCPT ); Sun, 28 Aug 2022 16:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiH1U5e (ORCPT ); Sun, 28 Aug 2022 16:57:34 -0400 Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8388430F4D; Sun, 28 Aug 2022 13:57:33 -0700 (PDT) Received: by mail-il1-x129.google.com with SMTP id t11so460755ilf.3; Sun, 28 Aug 2022 13:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=yorHfhd/+KmEpVFUDGAaD4F9KMlU0fo7Pjux9PaY7xY=; b=kZknlSh97mOvFluuYbu0PP9Xa+pMb8873Td3naTZb4o6Vn/by9nfYkQmHxB3ElWmdY RcBkMeoznOzYCpOJnzflOFrrM2wXRZBIC2cKgzdOvlqtJRIQllgnqYZr0RapGMPTEVqH LCagT4QJPt7xKFr26JrsBTQNCg+RzIoAZTYogDn/KvrQaloeOP0pHUhVZ5jI3QRgBkan fVGyHOEhvfS+ZkPfxXZgUzy5rmnse6WJJ42yvk3QH3J76MKZyRNvik/AOZpJXyYEgngi h5tt2p5kXVh6BYeTsh3zwu1SrExuYhK1/SzZmA1d+Gs8aC8B/Q9NtLpKPo34Kn4jTUJJ pfzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=yorHfhd/+KmEpVFUDGAaD4F9KMlU0fo7Pjux9PaY7xY=; b=h9PY2IKeJBr/zM/v1lukvSQ/8NAMtGSn3nXxPbuU9wTEjEg41xs1je8ni0D5aIR+10 vEUlBghBuPV7/iSFEIHFRgjZVlYxXBo7BMQcBdJ3X3bFSlxf83PtOToD4Isz2Nzv+LMl EhPhLuIDv2whuENqzCa02is5ac4kilWiRi8hFAU5mYCfAKcewQXi6tHX6Ph3c4URgX2g uNZ8yrMagtuJQiXjglr5TsO/CtDzuYVgWT4p1pFfix4mjeYMLaupqB5fcHONXvf5BFIv iS3T08KXUZpk3miX9kvK5QpOy1BVVhpzeWZ5TZ7ugtg7vLhTyOK5coLtSTRgAeifqlmr +fow== X-Gm-Message-State: ACgBeo1WgOF2U0qzzrWhJ/6qY8RFp3O0FywfsqZ+73Ii1R2glJ7f3uIN p0LPQgTTu07LoruL9ESVX9M= X-Google-Smtp-Source: AA6agR6GLmSPYA6+Jy2X2IFDtgpGl/yusfM4NCxD0QsUKR8GyvrGhChKod1jPQ2vZHSj4JhwFey8aA== X-Received: by 2002:a92:b00f:0:b0:2d6:5628:6865 with SMTP id x15-20020a92b00f000000b002d656286865mr8339669ilh.230.1661720253016; Sun, 28 Aug 2022 13:57:33 -0700 (PDT) Received: from fedora.. ([2604:2d80:4d8e:a000:6063:7cd5:2f24:16a6]) by smtp.gmail.com with ESMTPSA id k7-20020a02c767000000b00349be1ef390sm3572404jao.121.2022.08.28.13.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 13:57:32 -0700 (PDT) From: Joel Selvaraj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Subject: [PATCH v4 1/4] dt-bindings: arm: qcom: update beryllium compatible property Date: Sun, 28 Aug 2022 15:57:20 -0500 Message-Id: <20220828205723.20834-2-joelselvaraj.oss@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> References: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org There are two panel variants of Xiaomi Poco F1. Tianma and EBBG panel. The previous beryllium dts supported the Tianma variant. In order to add support for EBBG variant, the common nodes from beryllium dts are moved to a new common dtsi and to make the variants distinguishable, sdm845-xiaomi-beryllium.dts is now named as sdm845-xiaomi-beryllium-tianma.dts. The board's model and compatible properties are also renamed to distinguish between the variants. So update the dt-bindings to reflect the new compatible value. Signed-off-by: Joel Selvaraj --- Documentation/devicetree/bindings/arm/qcom.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index fb1d00bcc847..e465ca45c07f 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -666,7 +666,7 @@ properties: - sony,akatsuki-row - sony,apollo-row - thundercomm,db845c - - xiaomi,beryllium + - xiaomi,beryllium-tianma - xiaomi,polaris - const: qcom,sdm845 From patchwork Sun Aug 28 20:57:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 600728 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 9FF8EECAAA2 for ; Sun, 28 Aug 2022 20:57:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbiH1U5m (ORCPT ); Sun, 28 Aug 2022 16:57:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229738AbiH1U5f (ORCPT ); Sun, 28 Aug 2022 16:57:35 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEC1530F4F; Sun, 28 Aug 2022 13:57:34 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id n202so5162696iod.6; Sun, 28 Aug 2022 13:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=7P/6pkBG5AXeUM81e7/yIGOGSbeqlS3w48j+SavUKtc=; b=XrIMXoY9cddywFxBuH/YBKppaCUzYQB5cf7PDPN+gfTFB/sYRVQXE+jMWGZ9ylWNC2 zj1DGScRszt4TYs42WcIInfpD9+jxJZtFXEpkvftMsPlNyNHBckzETF6mxCnCa1fQRI4 g3SttZwqE3hzVq9MKr02VfK6Bl1YF5YH3uRQ6qtcOH8gYN/UA3bHM/02EPFLNAUgop6j Y6qM50yW+HiQGLsRK24/iwalUSAOOAeU1RLdtNHvrKV2jC2euL9WLDuCnUXSpbW6wgJ5 dpClEw5vd3S9Y0j4SEQrx58LQJGplEKH2VWdUE2PJL4x98zc5YvwnWQFtMt9MKAg5Wc/ GLDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=7P/6pkBG5AXeUM81e7/yIGOGSbeqlS3w48j+SavUKtc=; b=Ih2isFSjVAczZ8hmUkkq0EtmcE89ZSPAHy9Zmw3r/RExc1tUlF2T5fZVpNe0aBEmsr SSqnXtppFTCLK6W2OEsVtgOG0eXwkH4YSBkwcNvg2y3ZWgJKDlvptnw3CdPLdrXhrjvs aD8vxDyVvuGKlzV57sv5uQc0xRgvNONoZNdyWEE9MQlUcpQdpiEAxAt/ck4Q6dWMoUDm yC27XLpIkJirdmdoUcni5HHHyUO4k5GFwaiENMcqYDshCpUv7YyVjN594LaZZGIpNim1 jVufWqYu3/iJjifn5sDkcptCTThCPkFej6MY8hNUH8ix35IxfJLQj+/8dgzawGs1DQI9 ZwEA== X-Gm-Message-State: ACgBeo0kI1ZMQZ/Z2m2XmHp2QwsKIT5guhgoTjLWTG45+pmIS98XJg5y slsXgrIq5+hv5HggUgAxPlo= X-Google-Smtp-Source: AA6agR5BwsSpiNXIfiqcAo4SLAi5MdpWnyaVhQHPJrajOvWoDZX+QsY1vMgzu/KIn8gH7XCnMybsfQ== X-Received: by 2002:a05:6638:d41:b0:349:f7fd:9e1f with SMTP id d1-20020a0566380d4100b00349f7fd9e1fmr9013325jak.278.1661720254217; Sun, 28 Aug 2022 13:57:34 -0700 (PDT) Received: from fedora.. ([2604:2d80:4d8e:a000:6063:7cd5:2f24:16a6]) by smtp.gmail.com with ESMTPSA id k7-20020a02c767000000b00349be1ef390sm3572404jao.121.2022.08.28.13.57.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 13:57:33 -0700 (PDT) From: Joel Selvaraj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Subject: [PATCH v4 2/4] arm64: dts: qcom: split beryllium dts into common dtsi and tianma dts Date: Sun, 28 Aug 2022 15:57:21 -0500 Message-Id: <20220828205723.20834-3-joelselvaraj.oss@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> References: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org There are two panel variants of Xiaomi Poco F1. Tianma and EBBG panel. The previous beryllium dts supported the Tianma variant. In order to add support for EBBG variant, the common nodes from beryllium dts are moved to a new common dtsi and to make the variants distinguishable, sdm845-xiaomi-beryllium.dts is now named as sdm845-xiaomi-beryllium-tianma.dts. The model and compatible property are also updated to distinguish between the variants. Signed-off-by: Joel Selvaraj Reviewed-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/Makefile | 2 +- ...um.dts => sdm845-xiaomi-beryllium-common.dtsi} | 11 +++++------ .../dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 7 deletions(-) rename arch/arm64/boot/dts/qcom/{sdm845-xiaomi-beryllium.dts => sdm845-xiaomi-beryllium-common.dtsi} (98%) create mode 100644 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 1d86a33de528..d0bba59d2a8c 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -128,7 +128,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-fajita.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-akari.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-akatsuki.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-apollo.dtb -dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium.dtb +dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium-tianma.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-polaris.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-shift-axolotl.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm850-lenovo-yoga-c630.dtb diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi similarity index 98% rename from arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts rename to arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi index 82c27f90d300..940ac9cd0aba 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi @@ -26,8 +26,6 @@ /delete-node/ &rmtfs_mem; / { - model = "Xiaomi Pocophone F1"; - compatible = "xiaomi,beryllium", "qcom,sdm845"; chassis-type = "handset"; /* required for bootloader to select correct board */ @@ -221,8 +219,7 @@ &dsi0 { status = "okay"; vdda-supply = <&vreg_l26a_1p2>; - panel@0 { - compatible = "tianma,fhd-video"; + display_panel: panel@0 { reg = <0>; vddio-supply = <&vreg_l14a_1p8>; vddpos-supply = <&lab>; @@ -234,8 +231,10 @@ panel@0 { backlight = <&pmi8998_wled>; reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + status = "disabled"; + port { - tianma_nt36672a_in_0: endpoint { + panel_in_0: endpoint { remote-endpoint = <&dsi0_out>; }; }; @@ -243,7 +242,7 @@ tianma_nt36672a_in_0: endpoint { }; &dsi0_out { - remote-endpoint = <&tianma_nt36672a_in_0>; + remote-endpoint = <&panel_in_0>; data-lanes = <0 1 2 3>; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts new file mode 100644 index 000000000000..5411ca29a89b --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "sdm845-xiaomi-beryllium-common.dtsi" + +/ { + model = "Xiaomi Pocophone F1 (Tianma)"; + compatible = "xiaomi,beryllium-tianma", "qcom,sdm845"; +}; + +&display_panel { + compatible = "tianma,fhd-video"; + status = "okay"; +}; From patchwork Sun Aug 28 20:57:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 600894 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 1A1A5C0502F for ; Sun, 28 Aug 2022 20:57:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbiH1U5o (ORCPT ); Sun, 28 Aug 2022 16:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbiH1U5h (ORCPT ); Sun, 28 Aug 2022 16:57:37 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0E4430F50; Sun, 28 Aug 2022 13:57:35 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id h8so3544788ili.11; Sun, 28 Aug 2022 13:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=j+raLVGUjjyQVAbArzurzxwHN4OUaZx2fr+/eun+qZg=; b=jbuyR5Kj8361+pC4UkyPfdfg0YhTaZQb4XqO4gTbl3zNIFvn1UG1Duk7Tl3G+9juO2 bwgrk8ioCQ+INGU0p0XaMxRi/eFLr7U04GcZ3Gyvq7y30ISGKulojgNGDdoRKJ3A5FCW y7mTMJZ97nl/SALLQZUd+N4FNRemgjja+G4NeVUrXvqhuXQ2b1z/kHZmMeDz6jsy/k0o cTWi20rcsAr6esgKfvjf2faAgUHrnFVOFOjy3z6XwoPNA+RLnGqhFSKG3bWd6mSP4711 zbobn+DT4IObIZJgWc4mlqUIpI9KQ9LUJjB3Qz8d/lCfjWAmBuQT0Q6oBe/8F1paI88f ZYTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=j+raLVGUjjyQVAbArzurzxwHN4OUaZx2fr+/eun+qZg=; b=aPBMx/fDLPsJjshCREfes0udjP12q8Sq2yjqycF93kQNSRUHwLwcmpxUdfMfFXsMqH beeXlvDesc5QSib0b+5MNBfG4XBdP4vNJMpjVCnMcciSZjQINR3Tbb01nMXobO4i59rR oG8KR2vJaagBqQDQjTTk27JeDlXz9alBh3Cn8RqsnW0yj0CaaFTbfPXij0otss4O/yL3 Xtj3vCwKpZ4ktTdI+71NbYv5Dtr41ULA13/CV2UtUNbtI7gihIFBem+o7QH8BWaIKY3X 5aKjn3bOjf7g8jTFHaPPq3rKNTdOhJgjI2KM6VpKStGovPO6fwtWsjZ9vG26SjyDghMG NnzA== X-Gm-Message-State: ACgBeo2del8pPknCHarGriKEEEfDhcPmv/25Bl5jBXod52x1aww6PjFs BI/zLUUjK0crAGqDTlkqgoWl5HK+9z4= X-Google-Smtp-Source: AA6agR7tz/opQwcSYBVP8BD2l5x0zcXbmqlTBMxk4DKpHtV0LeW49cgY1N3H6020G3gSxBMEOU8soA== X-Received: by 2002:a05:6e02:1a88:b0:2e9:773b:f21c with SMTP id k8-20020a056e021a8800b002e9773bf21cmr8503939ilv.152.1661720255411; Sun, 28 Aug 2022 13:57:35 -0700 (PDT) Received: from fedora.. ([2604:2d80:4d8e:a000:6063:7cd5:2f24:16a6]) by smtp.gmail.com with ESMTPSA id k7-20020a02c767000000b00349be1ef390sm3572404jao.121.2022.08.28.13.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 13:57:35 -0700 (PDT) From: Joel Selvaraj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Subject: [PATCH v4 3/4] dt-bindings: arm: qcom: Add Xiaomi Poco F1 EBBG variant bindings Date: Sun, 28 Aug 2022 15:57:22 -0500 Message-Id: <20220828205723.20834-4-joelselvaraj.oss@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> References: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add documentation for "xiaomi,beryllium-ebbg" device. Signed-off-by: Joel Selvaraj Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index e465ca45c07f..4515151e3104 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -666,6 +666,7 @@ properties: - sony,akatsuki-row - sony,apollo-row - thundercomm,db845c + - xiaomi,beryllium-ebbg - xiaomi,beryllium-tianma - xiaomi,polaris - const: qcom,sdm845 From patchwork Sun Aug 28 20:57:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 600727 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 9BE23C6FA81 for ; Sun, 28 Aug 2022 20:57:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbiH1U5o (ORCPT ); Sun, 28 Aug 2022 16:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbiH1U5k (ORCPT ); Sun, 28 Aug 2022 16:57:40 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76C4930F51; Sun, 28 Aug 2022 13:57:37 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id y187so5181830iof.0; Sun, 28 Aug 2022 13:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=yt4Ln5mavOnenD4+cxo4O1NwhU0jowj6f43C1oASLGc=; b=Kb8lGCpoi9ULMjoH7+Um63Vl2BgEoNyKDu1/XJnj5L3lu2ga0F3D3PfIedoFMmCrGt GokanMaQPm/WHcOTr8tnc/ty+LhWFdqPPKAVyJ/mOof1cb9RiEEhwiwgSogMniZv4Vu3 Dyr+JHDPH3oy+7Of2VibMmmmg0Rnv74dFiKQ3Tz/MN2fdYBS02oWRTpTBr2RIzcFxohS CgMaTSPp/GTShmrViWmXwgId7s3oUHCOjgstZ+22KgufLqJO4AfKfAF41Gzh2eu3HqGc h4S9ZMnHTqBdH2WXg0GVpCGkvSrKPMyumtsDcHpqDxI5GXUWr09Lvt1AS8tCwcUUqMtt Q89A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=yt4Ln5mavOnenD4+cxo4O1NwhU0jowj6f43C1oASLGc=; b=RdDNAYL8188hzkoN1PxyEpDZ9HfGuvbOPNOAeQTGsNIDoe+rhIJhKnqCrTfJx3rAI3 9h6o91Le1CFYAZ51uRrdtZOxcIe2+1NaEU+wb3bGelamsi52JvhdVhyexFz9K1BNgDNk n7YsdZdu7xUPi8qmWcvnB/oHWHfR1N91l3sUBqG1BYnrSBfHfLW8YlnCKXb1dAXO3Lbd Y6Fdoddtfup9nC6w3c/eCdP4i7crQK6rcHPkmv+pL1FQaZdz6zFk9D+uMe4xMtmPeyeS qMSqcgdQjLtASX+nfVQq9tAXjIG16DmJfVRnJyDW/fHGT4ppjq9b4uAMmTrGWcsnnFjZ PqPQ== X-Gm-Message-State: ACgBeo1Qb2naCcAg0XcTRz05KpOxWtQ6yCyYt1BabrNyRcI3tWujWjyk mqsCcrlZn+3p3iVBhlX7tjhi3aJOCWU= X-Google-Smtp-Source: AA6agR5vNy6Eyx4YEGi8bcBzvZ3t+u1k+9V1F8fpQuE/+J/Q2WaN+41NTjso2y8ggZii5pisDfCcZg== X-Received: by 2002:a05:6638:32aa:b0:349:ecfb:80a with SMTP id f42-20020a05663832aa00b00349ecfb080amr8529975jav.73.1661720256643; Sun, 28 Aug 2022 13:57:36 -0700 (PDT) Received: from fedora.. ([2604:2d80:4d8e:a000:6063:7cd5:2f24:16a6]) by smtp.gmail.com with ESMTPSA id k7-20020a02c767000000b00349be1ef390sm3572404jao.121.2022.08.28.13.57.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 13:57:36 -0700 (PDT) From: Joel Selvaraj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Subject: [PATCH v4 4/4] arm64: dts: qcom: sdm845-xiaomi-beryllium-ebbg: introduce Xiaomi Poco F1 EBBG variant Date: Sun, 28 Aug 2022 15:57:23 -0500 Message-Id: <20220828205723.20834-5-joelselvaraj.oss@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> References: <20220828205723.20834-1-joelselvaraj.oss@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Introduce support for the Xiaomi Poco F1 EBBG variant. The EBBG variant uses EBBG FT8719 panel manufactured by EBBG. Signed-off-by: Joel Selvaraj Reviewed-by: Marijn Suijten Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index d0bba59d2a8c..a5045bd120c1 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -128,6 +128,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-fajita.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-akari.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-akatsuki.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-apollo.dtb +dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium-ebbg.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium-tianma.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-polaris.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-shift-axolotl.dtb diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts new file mode 100644 index 000000000000..76931ebad065 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "sdm845-xiaomi-beryllium-common.dtsi" + +/ { + model = "Xiaomi Pocophone F1 (EBBG)"; + compatible = "xiaomi,beryllium-ebbg", "qcom,sdm845"; +}; + +&display_panel { + compatible = "ebbg,ft8719"; + status = "okay"; +};