From patchwork Wed Aug 2 09:57:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng-Liang Pan X-Patchwork-Id: 13337955 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 DD050C04E69 for ; Wed, 2 Aug 2023 09:58:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234100AbjHBJ6O (ORCPT ); Wed, 2 Aug 2023 05:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233744AbjHBJ6N (ORCPT ); Wed, 2 Aug 2023 05:58:13 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D13131BF for ; Wed, 2 Aug 2023 02:58:08 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6871923041fso760100b3a.0 for ; Wed, 02 Aug 2023 02:58:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanta-corp-partner-google-com.20221208.gappssmtp.com; s=20221208; t=1690970288; x=1691575088; 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; bh=cjkPYhWVu4F4RI0ztkLP0H8g77PDU6mQ50uygT3LeOM=; b=OjygBGI4eSe3dJCrJam/mXrtVueXhbSlH6TQrMxomOEahjLN2qXieHUtZ0wsAmh/xL Y1YetkLAPQ150hVonlX2Bv4AcfbkTJ4opzWbfaZmF8expNZz1xkWwh9jaudOqd8zUjC+ tMxGEkUyH06ShvLIKDiPLeENMz6OUyEBSaWHDfWOzPZwgtEVL0MytgwPdz08Axoa5m+s FdCVGQmmWM4D4/V/vvAO7VWMFQBt7aswTevDh33+JR0P3+OWpeAD7eyQ1xacLVyIHS6R We/bICUA9YTZ3BatAXnC4DljyeAHnsfXLb/5ul5KUyV1N6ck4lXgW6mINwABaT+odPC3 bQ4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690970288; x=1691575088; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cjkPYhWVu4F4RI0ztkLP0H8g77PDU6mQ50uygT3LeOM=; b=HQr3YuyKycPh9YKZ4jh/ad1CnQOp36F6KLbMiE8ObEGPJ6cd5YzkREk9YRcepJ1ZO1 zPuxQBGWBnBwr4yr1+u+FKBQatfuXAK4KWogIBTsKqQpIUggNluK9444E1WZ9SngLywe ZJJ9ggUAas+XtfBCrrlda0H5CHipHew0u28dBvJL2Ay1veVLb0Tb2K3MeFZMVqe2pXFI 8XbZpLxfLp6x8t+wzdIZZCT74gAHpbObigEY0ou1H3W3YeR8z4WE9F6BALayxHivBcsb lQX5K/WNrBfHt9jAPN+soyoJJOCVCJRyWx2xC2Rdz9s4hZNcxN/5/WO3lT0HK5V47Jqe EcBA== X-Gm-Message-State: ABy/qLZ30B6eIVK2jYB5B2jbA35mFxHhqU0YWfOGa8UNyOI1cqnZp7gO 5ZB/ZLCsfv58AvztcfbFS1LLeg== X-Google-Smtp-Source: APBJJlETqe7KoKOGs9ZfBjrTtqJvbZbTOuPj/mOXQ0UACs7MlfobPK+KIKVpWETldR3I2p0/Xcegaw== X-Received: by 2002:a05:6a00:2312:b0:67f:ff0a:1bbb with SMTP id h18-20020a056a00231200b0067fff0a1bbbmr14817414pfh.1.1690970288309; Wed, 02 Aug 2023 02:58:08 -0700 (PDT) Received: from liang-Predator-PH517-52.. (60-250-232-247.hinet-ip.hinet.net. [60.250.232.247]) by smtp.gmail.com with ESMTPSA id m11-20020aa7900b000000b00686f048bb9dsm10742544pfo.74.2023.08.02.02.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 02:58:07 -0700 (PDT) From: Sheng-Liang Pan To: LKML Cc: dianders@chromium.org, Sheng-Liang Pan , Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: arm: qcom: add sc7180-lazor board bindings Date: Wed, 2 Aug 2023 17:57:51 +0800 Message-Id: <20230802175628.1.I7a950de49ec24b957e90d7fe7abd5f2f5f2e24c3@changeid> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230802095753.13644-1-sheng-liang.pan@quanta.corp-partner.google.com> References: <20230802095753.13644-1-sheng-liang.pan@quanta.corp-partner.google.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Introduce more sc7180-lazor sku and board version configuration, add no-eSIM SKU 10 for Lazor, no-eSIM SKU 15 and 18 for Limozeen, add new board version 10 for audio codec ALC5682i-VS. Signed-off-by: Sheng-Liang Pan --- .../devicetree/bindings/arm/qcom.yaml | 43 ++++++++++++++++--- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 450f616774e0..e0efc80a72e1 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -460,7 +460,7 @@ properties: - const: google,lazor-rev2 - const: qcom,sc7180 - - description: Acer Chromebook Spin 513 (rev3 - 8) + - description: Acer Chromebook Spin 513 (rev3 - 9) items: - const: google,lazor-rev3 - const: google,lazor-rev4 @@ -468,6 +468,7 @@ properties: - const: google,lazor-rev6 - const: google,lazor-rev7 - const: google,lazor-rev8 + - const: google,lazor-rev9 - const: qcom,sc7180 - description: Acer Chromebook Spin 513 (newest rev) @@ -481,7 +482,7 @@ properties: - const: google,lazor-rev2-sku2 - const: qcom,sc7180 - - description: Acer Chromebook Spin 513 with KB Backlight (rev3 - 8) + - description: Acer Chromebook Spin 513 with KB Backlight (rev3 - 9) items: - const: google,lazor-rev3-sku2 - const: google,lazor-rev4-sku2 @@ -489,6 +490,7 @@ properties: - const: google,lazor-rev6-sku2 - const: google,lazor-rev7-sku2 - const: google,lazor-rev8-sku2 + - const: google,lazor-rev9-sku2 - const: qcom,sc7180 - description: Acer Chromebook Spin 513 with KB Backlight (newest rev) @@ -502,7 +504,7 @@ properties: - const: google,lazor-rev2-sku0 - const: qcom,sc7180 - - description: Acer Chromebook Spin 513 with LTE (rev3 - 8) + - description: Acer Chromebook Spin 513 with LTE (rev3 - 9) items: - const: google,lazor-rev3-sku0 - const: google,lazor-rev4-sku0 @@ -510,6 +512,7 @@ properties: - const: google,lazor-rev6-sku0 - const: google,lazor-rev7-sku0 - const: google,lazor-rev8-sku0 + - const: google,lazor-rev9-sku0 - const: qcom,sc7180 - description: Acer Chromebook Spin 513 with LTE (newest rev) @@ -517,13 +520,24 @@ properties: - const: google,lazor-sku0 - const: qcom,sc7180 - - description: Acer Chromebook 511 (rev4 - rev8) + - description: Acer Chromebook Spin 513 with LTE no-esim (rev9) + items: + - const: google,lazor-rev9-sku10 + - const: qcom,sc7180 + + - description: Acer Chromebook Spin 513 with LTE no-esim (newest rev) + items: + - const: google,lazor-sku10 + - const: qcom,sc7180 + + - description: Acer Chromebook 511 (rev4 - rev9) items: - const: google,lazor-rev4-sku4 - const: google,lazor-rev5-sku4 - const: google,lazor-rev6-sku4 - const: google,lazor-rev7-sku4 - const: google,lazor-rev8-sku4 + - const: google,lazor-rev9-sku4 - const: qcom,sc7180 - description: Acer Chromebook 511 (newest rev) @@ -536,13 +550,14 @@ properties: - const: google,lazor-rev4-sku5 - const: qcom,sc7180 - - description: Acer Chromebook 511 without Touchscreen (rev5 - rev8) + - description: Acer Chromebook 511 without Touchscreen (rev5 - rev9) items: - const: google,lazor-rev5-sku5 - const: google,lazor-rev5-sku6 - const: google,lazor-rev6-sku6 - const: google,lazor-rev7-sku6 - const: google,lazor-rev8-sku6 + - const: google,lazor-rev9-sku6 - const: qcom,sc7180 - description: Acer Chromebook 511 without Touchscreen (newest rev) @@ -550,6 +565,24 @@ properties: - const: google,lazor-sku6 - const: qcom,sc7180 + - description: Acer Chromebook 511 no-esim (rev9) + items: + - const: google,lazor-rev9-sku15 + - const: qcom,sc7180 + + - description: Acer Chromebook 511 no-esim(newest rev) + items: + - const: google,lazor-sku15 + + - description: Acer Chromebook 511 without Touchscreen no-esim (rev9) + items: + - const: google,lazor-rev9-sku18 + - const: qcom,sc7180 + + - description: Acer Chromebook 511 without Touchscreen no-esim(newest rev) + items: + - const: google,lazor-sku18 + - description: Google Mrbland with AUO panel (rev0) items: - const: google,mrbland-rev0-sku0 From patchwork Wed Aug 2 09:57:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng-Liang Pan X-Patchwork-Id: 13337961 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 4F34CC04A94 for ; Wed, 2 Aug 2023 09:58:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234240AbjHBJ6e (ORCPT ); Wed, 2 Aug 2023 05:58:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234177AbjHBJ6Q (ORCPT ); Wed, 2 Aug 2023 05:58:16 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EFE82D52 for ; Wed, 2 Aug 2023 02:58:14 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-686f6231bdeso1769975b3a.1 for ; Wed, 02 Aug 2023 02:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanta-corp-partner-google-com.20221208.gappssmtp.com; s=20221208; t=1690970293; x=1691575093; 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; bh=34LZOxStMWZZys9xGZwVbp/iX1SrEVG3L8B12Rex+EM=; b=VCFVNY3p7kubvP52va28PuhOb0YgY8Rlr+G72KMNLgjn90lTBrz6+FWPiTGij/gZI/ 1EtyjaWUnX0JdITRZbS6SmaXHffsfoalg4+krgTUBZZVfoHgZ+WlkEw8Uk0+dDYrhu9B 5L5PEl63m4rx+Y1hpT5wYq8HNxUtOcKLHwuVaP989erD0oxSuPNNcZIoSyvh1QGktJUK 5XPRYzwPRmiXn+1iNAW2JFuLRybxzeO1zny+TID7XRfFXRqoP1Wi4imCgSc1G0T4L2++ 2bJS2OfnoYT5szsvn+p03828QqALWDDjIeo+v1PuoTTpTO/OfkOzPQZgIZAvOcddqRL0 j9rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690970293; x=1691575093; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=34LZOxStMWZZys9xGZwVbp/iX1SrEVG3L8B12Rex+EM=; b=db4vyPCLYP/dto/aybcVkeX11TIZnl+NVXIHrFrfa3xgPdKDB9kshOSJm0n6WljwIT bbSM7gbm0SaSCd2ZbhLIvF54ScKvEHB44hbuW4+wPLixcxYZHPIc+bKdO0SKaDd0EC9E aMRypKsakgDVty3FpT7n+/1k3irCmCKFEfvuQkcURqhvNQ4hSsv3lqRGhamIawfImVsU cuLxDwjFJYeACe4gchwQKiayZyoB4asyudbKtl/DH16/PpQkuD8PbSzQtsMl7N4n3/OG z2aS4Z91wGYI26u05wdee9gZMnbMYoIxqGZVpxzVVb4y96AOX8w5czV4bDVf43mjXpIG rIAQ== X-Gm-Message-State: ABy/qLYysN8N2d8uwRbmOSZmzvwZ8ek4/JhG/8vZFfzITWyYdh7c4how 8N51krgG7h9pJAbiUO6t+ZKJrg== X-Google-Smtp-Source: APBJJlGX4vqR73k27Ib3HHZ7v8cNqP6Ca8hNP+Ou8V+xI0MLLzb3k32wPzxUpFF+Por51r3J9ZnCMw== X-Received: by 2002:a05:6a00:2d23:b0:67f:8ef5:2643 with SMTP id fa35-20020a056a002d2300b0067f8ef52643mr12877311pfb.2.1690970293532; Wed, 02 Aug 2023 02:58:13 -0700 (PDT) Received: from liang-Predator-PH517-52.. (60-250-232-247.hinet-ip.hinet.net. [60.250.232.247]) by smtp.gmail.com with ESMTPSA id m11-20020aa7900b000000b00686f048bb9dsm10742544pfo.74.2023.08.02.02.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 02:58:13 -0700 (PDT) From: Sheng-Liang Pan To: LKML Cc: dianders@chromium.org, Sheng-Liang Pan , Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: qcom: Add sku_id for lazor/limozeen Date: Wed, 2 Aug 2023 17:57:52 +0800 Message-Id: <20230802175628.2.Ia4e268a027980f00c8fb0451a29938d76b765487@changeid> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230802095753.13644-1-sheng-liang.pan@quanta.corp-partner.google.com> References: <20230802095753.13644-1-sheng-liang.pan@quanta.corp-partner.google.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SKU ID 10: Lazor LTE+Wifi, no-esim (Strapped 0 X 0) SKU ID 15: Limozeen LTE+Wifi, TS, no esim (Strapped 1 X 0) SKU ID 18: Limozeen LTE+Wifi, no TS, no esim (Strapped X 0 0) Even though the "no esim" boards are strapped differently than ones that have an esim, the esim isn't represented in the device tree so the same device tree can be used for LTE w/ esim and LTE w/out esim. Signed-off-by: Sheng-Liang Pan Reviewed-by: Douglas Anderson --- .../boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts index 913b5fc3ba76..cef57c15b70b 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts @@ -14,7 +14,7 @@ / { model = "Google Lazor Limozeen without Touchscreen (rev9+)"; - compatible = "google,lazor-sku6", "qcom,sc7180"; + compatible = "google,lazor-sku6", "google,lazor-sku18", "qcom,sc7180"; }; /delete-node/&ap_ts; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts index 15d77dc5f956..2038a82bc0e7 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts @@ -14,7 +14,7 @@ / { model = "Google Lazor Limozeen (rev9+)"; - compatible = "google,lazor-sku4", "qcom,sc7180"; + compatible = "google,lazor-sku4", "google,lazor-sku15", "qcom,sc7180"; }; /delete-node/&ap_ts; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts index 38027f13b9d0..438ab9cd3389 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts @@ -14,7 +14,7 @@ / { model = "Google Lazor (rev9+) with LTE"; - compatible = "google,lazor-sku0", "qcom,sc7180"; + compatible = "google,lazor-sku0", "google,lazor-sku10", "qcom,sc7180"; }; &ap_sar_sensor_i2c { From patchwork Wed Aug 2 09:57:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng-Liang Pan X-Patchwork-Id: 13337967 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 4BCCBC00528 for ; Wed, 2 Aug 2023 09:59:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234289AbjHBJ7U (ORCPT ); Wed, 2 Aug 2023 05:59:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234294AbjHBJ6r (ORCPT ); Wed, 2 Aug 2023 05:58:47 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47C4F30F0 for ; Wed, 2 Aug 2023 02:58:24 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6872c60b572so888039b3a.1 for ; Wed, 02 Aug 2023 02:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanta-corp-partner-google-com.20221208.gappssmtp.com; s=20221208; t=1690970303; x=1691575103; 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; bh=Yg9EXzX1kgewsMwOeFC+vrgOSvue4qj7vUYgXfqrEs0=; b=0H5bE/ffijlHRbJEhOlAQwMiD0MCm1wQyA9riw/Cl1cWxGSZCA2IMCmk7LQzzgwiux ZFxIw7oBoPzMu1EDnOrLIHNUHzCfjwce5gQVSFUYcJdpVtj36HUXy5wIOq5Yh6F5EEv4 LB9Kirr9Adpg174gE3N4pkb30/vvX7z49cic2BZjXaPGM7v+2wTWyKFNy2rhrxZWsHo4 rj0yM3QlCE3l1kZYEvbrRc6XxWBBSCvLI8HpcLubQWJWu8hj2NHnDsRBRpkKt4QVc8G+ Gb4RoE1/TI9K8bjJHTvk63V91Ch3AaaMw/K4yB5a9A1Kbanzcd7sEkqoE7ovIFkObPmK KS2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690970303; x=1691575103; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Yg9EXzX1kgewsMwOeFC+vrgOSvue4qj7vUYgXfqrEs0=; b=c23F9xsTw5SSAhhhLWXEMVM4lKgc7+5euLC3IfOHFO+vwbVg1QdbijyWpgrGd+b+El elUKAfB8EZZQIYK12n/VyQKfgBMHLWm8Qun4EC2wRv3A1eHqudNLRAo4rveYcHalPX6n jgNECCJZfC+PjPA2yGD+u+XHcDuxQ7uKyHSVWaQ/r9csQZjAAg4k5JjMsblkzEJRzxeb doUBKCqoblkp7sS0KNB+YcalLV+nJEcTbz5s+xmIjV7uJCnueWyeaPK91nYuoncMHpke 330KbfOKMQPm9sxGdgE4Cpv/Eoo3XLC9uFZZmHT+x9KQ0TZzdQoPn38eQuxlh5jVKGQi rFzw== X-Gm-Message-State: ABy/qLbMjjJE5BMgDe+coxTJbZyHEjFgEWLiZI/6PXlj2mtbNqoVZF2P VbR9M4mEWvnhhdNRMSnkzq9xNA== X-Google-Smtp-Source: APBJJlGzM9Bn7zEEXu6vCs/8tcvID0v0Gt45w+1nAqoCyc1LJZPIwuv08GJrUzSAm4FneUXIijOJIA== X-Received: by 2002:a05:6a21:3385:b0:13e:1d49:7249 with SMTP id yy5-20020a056a21338500b0013e1d497249mr8844632pzb.2.1690970303573; Wed, 02 Aug 2023 02:58:23 -0700 (PDT) Received: from liang-Predator-PH517-52.. (60-250-232-247.hinet-ip.hinet.net. [60.250.232.247]) by smtp.gmail.com with ESMTPSA id m11-20020aa7900b000000b00686f048bb9dsm10742544pfo.74.2023.08.02.02.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 02:58:23 -0700 (PDT) From: Sheng-Liang Pan To: LKML Cc: dianders@chromium.org, Sheng-Liang Pan , Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: Add board id for lazor/limozeen Date: Wed, 2 Aug 2023 17:57:53 +0800 Message-Id: <20230802175628.3.Ie77732a87ab53d21bac47db309b75a796fa19337@changeid> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230802095753.13644-1-sheng-liang.pan@quanta.corp-partner.google.com> References: <20230802095753.13644-1-sheng-liang.pan@quanta.corp-partner.google.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org add BRD_ID(0, Z, 0) = 10 for new board with ALC5682i-VS Signed-off-by: Sheng-Liang Pan --- arch/arm64/boot/dts/qcom/Makefile | 5 ++ ...sc7180-trogdor-lazor-limozeen-nots-r10.dts | 39 +++++++++++++ .../sc7180-trogdor-lazor-limozeen-nots-r9.dts | 4 +- .../sc7180-trogdor-lazor-limozeen-r10.dts | 55 +++++++++++++++++++ .../qcom/sc7180-trogdor-lazor-limozeen-r9.dts | 4 +- .../dts/qcom/sc7180-trogdor-lazor-r10-kb.dts | 33 +++++++++++ .../dts/qcom/sc7180-trogdor-lazor-r10-lte.dts | 37 +++++++++++++ .../dts/qcom/sc7180-trogdor-lazor-r10.dts | 29 ++++++++++ .../dts/qcom/sc7180-trogdor-lazor-r9-kb.dts | 4 +- .../dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 4 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r9.dts | 4 +- 11 files changed, 208 insertions(+), 10 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 337abc4ceb17..73e745fb1ff0 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -109,11 +109,16 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r3-lte.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r9.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r9-kb.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r9-lte.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r10.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r10-kb.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r10-lte.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-limozeen-r4.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-limozeen-r9.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-limozeen-r10.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-limozeen-nots-r4.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-limozeen-nots-r5.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-limozeen-nots-r9.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-limozeen-nots-r10.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel-lte-parade.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel-lte-ti.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel-parade.dtb diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts new file mode 100644 index 000000000000..63602feceea6 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor Limozeen board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Lazor Limozeen without Touchscreen (rev10+, rt5682s)"; + compatible = "google,lazor-sku6", "google,lazor-sku18", "qcom,sc7180"; +}; + +/delete-node/&ap_ts; + +&panel { + compatible = "edp-panel"; +}; + +&sdhc_2 { + status = "okay"; +}; + +&alc5682 { + compatible = "realtek,rt5682s"; + realtek,dmic1-clk-pin = <2>; + realtek,dmic-clk-rate-hz = <2048000>; +}; + +&sound { + compatible = "google,sc7180-trogdor"; + model = "sc7180-rt5682s-max98357a-1mic"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts index cef57c15b70b..e3f1f30a7fc3 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts @@ -13,8 +13,8 @@ #include "sc7180-trogdor-lte-sku.dtsi" / { - model = "Google Lazor Limozeen without Touchscreen (rev9+)"; - compatible = "google,lazor-sku6", "google,lazor-sku18", "qcom,sc7180"; + model = "Google Lazor Limozeen without Touchscreen (rev9)"; + compatible = "google,lazor-rev9-sku6", "google,lazor-rev9-sku18", "qcom,sc7180"; }; /delete-node/&ap_ts; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts new file mode 100644 index 000000000000..d0395a4b5cbb --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts @@ -0,0 +1,55 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor Limozeen board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Lazor Limozeen (rev10+, rt5682s)"; + compatible = "google,lazor-sku4", "google,lazor-sku15", "qcom,sc7180"; +}; + +/delete-node/&ap_ts; + +&ap_ts_pen_1v8 { + ap_ts: touchscreen@10 { + compatible = "elan,ekth3500"; + reg = <0x10>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; + + interrupt-parent = <&tlmm>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + + vcc33-supply = <&pp3300_ts>; + + reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; + }; +}; + +&panel { + compatible = "auo,b116xa01"; +}; + +&sdhc_2 { + status = "okay"; +}; + +&alc5682 { + compatible = "realtek,rt5682s"; + realtek,dmic1-clk-pin = <2>; + realtek,dmic-clk-rate-hz = <2048000>; +}; + +&sound { + compatible = "google,sc7180-trogdor"; + model = "sc7180-rt5682s-max98357a-1mic"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts index 2038a82bc0e7..3b6053f3e62b 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts @@ -13,8 +13,8 @@ #include "sc7180-trogdor-lte-sku.dtsi" / { - model = "Google Lazor Limozeen (rev9+)"; - compatible = "google,lazor-sku4", "google,lazor-sku15", "qcom,sc7180"; + model = "Google Lazor Limozeen (rev9)"; + compatible = "google,lazor-rev9-sku4", "google,lazor-rev9-sku15", "qcom,sc7180"; }; /delete-node/&ap_ts; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts new file mode 100644 index 000000000000..26e5cfcd00fe --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-lite.dtsi" + +/ { + model = "Google Lazor (rev10+, rt5682s) with KB Backlight"; + compatible = "google,lazor-sku2", "qcom,sc7180"; +}; + +&keyboard_backlight { + status = "okay"; +}; + +&alc5682 { + compatible = "realtek,rt5682s"; + realtek,dmic1-clk-pin = <2>; + realtek,dmic-clk-rate-hz = <2048000>; +}; + +&sound { + compatible = "google,sc7180-trogdor"; + model = "sc7180-rt5682s-max98357a-1mic"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts new file mode 100644 index 000000000000..026460ce3893 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Lazor (rev10+, rt5682s) with LTE"; + compatible = "google,lazor-sku0", "google,lazor-sku10", "qcom,sc7180"; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; + +&keyboard_backlight { + status = "okay"; +}; + +&alc5682 { + compatible = "realtek,rt5682s"; + realtek,dmic1-clk-pin = <2>; + realtek,dmic-clk-rate-hz = <2048000>; +}; + +&sound { + compatible = "google,sc7180-trogdor"; + model = "sc7180-rt5682s-max98357a-1mic"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts new file mode 100644 index 000000000000..40f618da3c7a --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-lite.dtsi" + +/ { + model = "Google Lazor (rev10+, rt5682s)"; + compatible = "google,lazor", "qcom,sc7180"; +}; + +&alc5682 { + compatible = "realtek,rt5682s"; + realtek,dmic1-clk-pin = <2>; + realtek,dmic-clk-rate-hz = <2048000>; +}; + +&sound { + compatible = "google,sc7180-trogdor"; + model = "sc7180-rt5682s-max98357a-1mic"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts index 960f7b7ce094..f74a1985cac6 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts @@ -13,8 +13,8 @@ #include "sc7180-lite.dtsi" / { - model = "Google Lazor (rev9+) with KB Backlight"; - compatible = "google,lazor-sku2", "qcom,sc7180"; + model = "Google Lazor (rev9) with KB Backlight"; + compatible = "google,lazor-rev9-sku2", "qcom,sc7180"; }; &keyboard_backlight { diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts index 438ab9cd3389..15dcf95da311 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts @@ -13,8 +13,8 @@ #include "sc7180-trogdor-lte-sku.dtsi" / { - model = "Google Lazor (rev9+) with LTE"; - compatible = "google,lazor-sku0", "google,lazor-sku10", "qcom,sc7180"; + model = "Google Lazor (rev9) with LTE"; + compatible = "google,lazor-rev9-sku0", "google,lazor-rev9-sku10", "qcom,sc7180"; }; &ap_sar_sensor_i2c { diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts index 56dd222650d3..44f61bc56f81 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts @@ -13,6 +13,6 @@ #include "sc7180-lite.dtsi" / { - model = "Google Lazor (rev9+)"; - compatible = "google,lazor", "qcom,sc7180"; + model = "Google Lazor (rev9)"; + compatible = "google,lazor-rev9", "qcom,sc7180"; };