From patchwork Thu Nov 24 03:57:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Owen Yang X-Patchwork-Id: 25308 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3181592wrr; Wed, 23 Nov 2022 20:20:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf6QOx9T+qU11SO1MnfrkniFG9GGU1TZCShFGQK/tNq4jNboiYykLCTBkIOX9lsFWEa5hvZm X-Received: by 2002:a17:906:1495:b0:7ad:d250:b904 with SMTP id x21-20020a170906149500b007add250b904mr10161102ejc.633.1669263622385; Wed, 23 Nov 2022 20:20:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669263622; cv=none; d=google.com; s=arc-20160816; b=J1wFmF3nM+a6aC8D+q/1jBz7QmpfkShnYbYCv+8K5YKd55z28I0CJ5ko0X5UUbrYXM BMTfzoGwOtT10UwJXUVQvWcQqHFpTddIk8TfS4j98qpDSoe8b5GVGXy3TSpwjiRt+K5M g/N4aNbpETfhtYf4mHsST8iaz4sltthERMe4FweD+RFlP51z2OGKjHgfg7Rf4GmitV/n SU1hV+8QbGF/xGXpU7g9e+Vp33T8AiCYHV5GJ2pIXN9ytIg8JaUBvFv+t0zpqCQjv2CC 6NfevcUq0tpmWpVg+N+TyFFU8Tz5HkeX8r/FiJr6Xs9X7ZEKy/LadrthJalafgiToliO UmhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=AGwvbVKMm9h/sFfV9Q2uLqdpGgHfx9ic4niLttdCeaU=; b=x/2zed8s18TqnoBBiX5UdxRUVj+DNUFZdezMIhkHPHB52xmFg/UPW/J8pOSXZkWXIs h38ZmEzRm7r4KRHd9s1G0+bGL+O2uUzYBVtUA7o9jEDz+V1EnQbRAHZOkPjJJWihRbaY XdtA0AOZq+PfKa98ACGGG1lbG2jTMKeCGcBRRjIWiurg7JbvaBXUMB/t9itKV5/MzLmu eRHGXUurzibRLJycKawnjNM8FzqsKiHYmOPgkxgE4B7ODPG+ZvqUregODTWoGp5RB4Pe 3qHQl4yc+ATYJcVIHgWZZtCY9CSeiKPpEYI/rHOLU3O+QGJn61hOfjp7vHqshShKz1Gg 5tbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RzYAZWCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ae9-20020a17090725c900b007ad88f87f07si411698ejc.599.2022.11.23.20.19.56; Wed, 23 Nov 2022 20:20:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RzYAZWCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbiKXD5q (ORCPT + 99 others); Wed, 23 Nov 2022 22:57:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229923AbiKXD5l (ORCPT ); Wed, 23 Nov 2022 22:57:41 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0B41EE24; Wed, 23 Nov 2022 19:57:38 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id b21so372237plc.9; Wed, 23 Nov 2022 19:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AGwvbVKMm9h/sFfV9Q2uLqdpGgHfx9ic4niLttdCeaU=; b=RzYAZWCSvx9Rslffu5+s2/dhpwBAYmm+HJq4YQ8L4VhQvXTljN6MYG7rQ/Tr+5UaqP Z0xFSqj9+N/Xd++SCFsnY/nWAIqtwLz5+nZNKoKtcC4E+dLYoYnpFVzIbJnmJZfVVVWJ S/FPqn51M+oDUXBvB9T9AOzkDo6ScCvOAGip2H0mLD9AzQsLtMFZ+xqD8soqfIAEUw+9 Oq6WM2m4NPZCxMoJkgrv6OK3S02ijrgFXK0Le7Yvqj+IgOc2jJrNKwPFmudldE1dsXhs b4ExMTkA48xTWMKarQezHiHKx00XJVGnVWFhVmWufUUDeejjn2Du2uFK+pAhNfkRl9Ns ypgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AGwvbVKMm9h/sFfV9Q2uLqdpGgHfx9ic4niLttdCeaU=; b=uPj8WvZTErJ+0Yef8VtAPlJ7VPBVXTnyjGceAD/lO3CZPfJ7H8NgJcMjajx8fRvolv 5Lck9OI8uiAgsZS38n9eHxJGsDiPHF+xuyvTYxvLAql2nfuLesyYAszfmbz0F/T2YVRQ B/47FQs5d7CyWdkiMB1bX6JI/XQqxlFInYIf30cwjXuovFsgpR1zi8CqzJO97iSWLPGx P10560maHN9b5J3nXh6fg40CJyxFlC6yc0TPwCEuiES+3pxLLKvuJqoFGXgVqR9Zi20/ 33Lh+0V34E3yCyRHcVSeLrAPDszJ4FVWMBxHxuG8RVPAy7iBuUanRn3MqBTh2MDuEaRq L8TQ== X-Gm-Message-State: ANoB5pmutlyZno+cp1ayKaogdCTdZpWP1DwaG8oZTQz0Gtp449PgHLLe LlkhCAUGrZiFII8/CTD43WFICMsa6WM= X-Received: by 2002:a17:902:7686:b0:177:faf5:58c5 with SMTP id m6-20020a170902768600b00177faf558c5mr13091572pll.166.1669262257957; Wed, 23 Nov 2022 19:57:37 -0800 (PST) Received: from localhost.localdomain (2001-b400-e2d2-0afd-cc59-9e7c-2b31-e31c.emome-ip6.hinet.net. [2001:b400:e2d2:afd:cc59:9e7c:2b31:e31c]) by smtp.gmail.com with ESMTPSA id 124-20020a620582000000b00574866d619asm25998pff.119.2022.11.23.19.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 19:57:37 -0800 (PST) From: Owen Yang To: LKML Cc: Bob Moragues , Krzysztof Kozlowski , Stephen Boyd , Harvey , Douglas Anderson , Matthias Kaehlcke , Owen Yang , Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v4 1/2] dt-bindings: arm: qcom: Add zombie Date: Thu, 24 Nov 2022 11:57:28 +0800 Message-Id: <20221124115712.v4.1.Idfcba5344b7995b44b7fa2e20f1aa4351defeca6@changeid> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750349772304746776?= X-GMAIL-MSGID: =?utf-8?q?1750349772304746776?= Add an entry in the device tree binding for sc7280-zombie. Signed-off-by: Owen Yang --- Changes in v4: - Dropping the redundant 'DT binding for' as requested by Krzysztof. v4. - Adding an empty line here before "/dts-v1/;" in "sc7280-herobrine-zombie-lte.dts", "sc7280-herobrine-zombie.dts" as requested by Matthias. v4. - Deleteing "/dts-v1/;" in "sc7280-herobrine-zombie.dtsi" as requested by Matthias. v4. - Droping changing file path in description. v3. as requested by Matthias. v3. - Changing Patch order, binding patch first and dt file second, as requested by Douglas. v2. - Adding "arm64: dts: qcom: sc7280:" in dt patch ${SUBJECT}, as requested by Douglas. v2. - Adding "dt-bindings: arm: qcom:" in bind patch ${SUBJECT}, as requested by Douglas. v2. - Adding '#include "sc7280-herobrine-wifi-sku.dtsi"' in sc7280-herobrine-zombie.dts, as requested by Douglas. v2. - Adding "(newest rev)" for zombie entry description in qcom.yaml, as requested by Douglas. v2. - Adding "post-power-on-delay-ms = <100>;" for trackpad in "sc7280-herobrine-zombie.dtsi". v2 - Changing "vcc-supply" to "vdd-supply" for trackpad in "sc7280-herobrine-zombie.dtsi", as requested by Douglas. v2. Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 463509f0f23a..7ec6240311db 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -655,6 +655,16 @@ properties: - const: google,villager-sku512 - const: qcom,sc7280 + - description: Google Zombie (newest rev) + items: + - const: google,zombie + - const: qcom,sc7280 + + - description: Google Zombie with LTE (newest rev) + items: + - const: google,zombie-sku512 + - const: qcom,sc7280 + - items: - enum: - lenovo,flex-5g From patchwork Thu Nov 24 03:57:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Owen Yang X-Patchwork-Id: 25309 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3181705wrr; Wed, 23 Nov 2022 20:20:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf4/O0mbNXw4/mYObbrp0Sv9j56JJvOYO1MKGJ9rg0vs1OStQKVemsseIoNc9nr3p0PmNoJO X-Received: by 2002:a17:906:b14f:b0:7ae:6d3e:a02e with SMTP id bt15-20020a170906b14f00b007ae6d3ea02emr26098291ejb.626.1669263648621; Wed, 23 Nov 2022 20:20:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669263648; cv=none; d=google.com; s=arc-20160816; b=SulHWMnZSb7IG1K5+nP3HKd9ZuYxZ3jWIEqDM4QFkvCASPxMDkoGOl9YPIBDI4Q3Sw z3dCkPaWlnQNcVQp8eDCVAjnWZR2Ln0RUbfmcSXBcWWGy55JBhYbEoxU1P5QGHdPF2OK 3sDCiN/VxiUGZ1L7lOGD7zsrddZQzqCNF99aXDJh/Na02uIcDI6dlwMl9fP33TWkvzqo nMvQS7n4N4A5sc1ITWJBLw0tbvnk+fSMkmh4gX8LZXCV4TjQYRH18OH0y0u8x6xk5NUJ E3k+/MvfEW/jDLmDcdbPTO858KR6FyIht+6P5j0/QW+0y/487KhyzjEVmPnp5gtbSBYF 5PMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=exuLTCBblWA2d/JP7u8oKeMGf5PXWykB86/4i9Wbh/M=; b=gURB55AUlgkd0BFNHDju0h7zOrPb/2kP4w1XvGGPsyGe2yE1HC3KA65mghKHgUdokq IC1agiRh+RV+FnNGOXksyaCM84C3U2Op3l/864RC44CzQVMZ8GlxUwm4gmhqjVGW6UDD j18m3CzNmp86ZeTRjzKKsILBSiNFc+cklqF6nSEutAYTFZ9Fu7mqMQMw3Qp7AbWgB98K pwljo5rUTPmeCkang8+V9+Lo/4HHKmCBFYCjbNE7c2bjNFID2bwLElMUAES9P/cFxnEj AovIIO5tgJ2OyTlpOmrMvZGITPHA2Nq9taiL+NJnVNN3aCR3/TDz4W/XFpBCOu/HNFur ifXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hr6K9zyg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn2-20020a17090794c200b007acc6769292si7338ejc.365.2022.11.23.20.20.25; Wed, 23 Nov 2022 20:20:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hr6K9zyg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbiKXD5v (ORCPT + 99 others); Wed, 23 Nov 2022 22:57:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229976AbiKXD5n (ORCPT ); Wed, 23 Nov 2022 22:57:43 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B32FCE0D; Wed, 23 Nov 2022 19:57:42 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id a22-20020a17090a6d9600b0021896eb5554so4014216pjk.1; Wed, 23 Nov 2022 19:57:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=exuLTCBblWA2d/JP7u8oKeMGf5PXWykB86/4i9Wbh/M=; b=hr6K9zyg+AR39BRQoJHmEss0N3MiSqsVD06Kd9z3WWN+JekCy1HvGRseGGWroTmLu1 /PiFQ8M40sxEvX+9vZziHvxnMB6UDLFk1BY8ppgS6Dr5w+wxAggmMdLuF/cxK7XjVx1z ugHLlAhyeRHPCip+stn+U2JfwfH3YOtcjaftAPcthLrSjAAEW3hurC44U5+y6SpfpJ9S ONqkS3/+2AHvZs0hfqey5vF3Iuu7QcHqP1R0Vs7CSaANK2IB4CQdWwTRZtumCuCHlsOE nDmnF7ux+2MoGTuZ9QpkegtGevZQacMRU8P6HiwashAU2aHWyeTrvzu87YL1RGp5swnA +GbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=exuLTCBblWA2d/JP7u8oKeMGf5PXWykB86/4i9Wbh/M=; b=740jnLmwee5FAbPSw36cOkaBlo7vGzA6tyO83xjQlSu1RAMvPVxkmCiBWak092AF60 8lwKORM3w4hDhVfSfQUq5QgD07oGNpRTiq4RuKN7rhme6pVnxzsrweMxZfrvHrEbr2PR 71sz4QRg3XE5+4jEYYIL5N59kiuexjFbIOZCnSBFPHicWeCiFLSFmeg8+h/YQpSyftoR mD3b6tZ+0Xnp4j/I2znryM6BlJCaaNr897+IeKntYoG843h+1zCwoDqH06N3mnimHC5t yqXz3GOp/wXIsykU3WKZ/hjJbHleDJiAoWZ73eKnY1p8WmfPd1UMc5OHgLNMds4FI97E P/3A== X-Gm-Message-State: ANoB5pkV7tm1lPCgTebUeEXM9aWgd4glzUHY8ps9s6wMklnWzA0lCI31 hTmiWXHYPMy5cpSvjq82DYT2Kfu+nqQ= X-Received: by 2002:a17:90a:de10:b0:218:c568:4214 with SMTP id m16-20020a17090ade1000b00218c5684214mr14456326pjv.135.1669262261351; Wed, 23 Nov 2022 19:57:41 -0800 (PST) Received: from localhost.localdomain (2001-b400-e2d2-0afd-cc59-9e7c-2b31-e31c.emome-ip6.hinet.net. [2001:b400:e2d2:afd:cc59:9e7c:2b31:e31c]) by smtp.gmail.com with ESMTPSA id 124-20020a620582000000b00574866d619asm25998pff.119.2022.11.23.19.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 19:57:40 -0800 (PST) From: Owen Yang To: LKML Cc: Bob Moragues , Krzysztof Kozlowski , Stephen Boyd , Harvey , Douglas Anderson , Matthias Kaehlcke , Owen Yang , Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v4 2/2] arm64: dts: qcom: sc7280: Add DT for sc7280-herobrine-zombie Date: Thu, 24 Nov 2022 11:57:29 +0800 Message-Id: <20221124115712.v4.2.I56fb5003a3ac94e90d3068be274e6f9357fdd130@changeid> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221124115712.v4.1.Idfcba5344b7995b44b7fa2e20f1aa4351defeca6@changeid> References: <20221124115712.v4.1.Idfcba5344b7995b44b7fa2e20f1aa4351defeca6@changeid> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750349799740373035?= X-GMAIL-MSGID: =?utf-8?q?1750349799740373035?= Add DT for sc7280-herobrine-zombie Signed-off-by: Owen Yang --- (no changes since v1) arch/arm64/boot/dts/qcom/Makefile | 2 + .../dts/qcom/sc7280-herobrine-zombie-lte.dts | 16 + .../boot/dts/qcom/sc7280-herobrine-zombie.dts | 16 + .../dts/qcom/sc7280-herobrine-zombie.dtsi | 309 ++++++++++++++++++ 4 files changed, 343 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts create mode 100644 arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index afe496a93f94..7b0644a39062 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -114,6 +114,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-herobrine-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-villager-r0.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-villager-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-villager-r1-lte.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-zombie.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-zombie-lte.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-idp2.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-crd-r3.dtb diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts new file mode 100644 index 000000000000..c9fe64529555 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-lte.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Zombie board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-zombie.dtsi" +#include "sc7280-herobrine-lte-sku.dtsi" + +/ { + model = "Google Zombie with LTE"; + compatible = "google,zombie-sku512", "qcom,sc7280"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts new file mode 100644 index 000000000000..0246c12b2f40 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Zombie board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-zombie.dtsi" +#include "sc7280-herobrine-wifi-sku.dtsi" + +/ { + model = "Google Zombie"; + compatible = "google,zombie", "qcom,sc7280"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi new file mode 100644 index 000000000000..3de03602e1f7 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi @@ -0,0 +1,309 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Zombie board device tree source + * + * Copyright 2022 Google LLC. + */ + +#include "sc7280-herobrine.dtsi" +#include "sc7280-herobrine-audio-rt5682.dtsi" + +/* + * ADDITIONS TO FIXED REGULATORS DEFINED IN PARENT DEVICE TREE FILES + * + * Sort order matches the order in the parent files (parents before children). + */ + +&pp3300_codec { + status = "okay"; +}; + +/* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */ + +ap_tp_i2c: &i2c0 { + clock-frequency = <400000>; + status = "okay"; + + trackpad: trackpad@15 { + compatible = "hid-over-i2c"; + reg = <0x15>; + pinctrl-names = "default"; + pinctrl-0 = <&tp_int_odl>; + + interrupt-parent = <&tlmm>; + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; + + hid-descr-addr = <0x01>; + vdd-supply = <&pp3300_z1>; + post-power-on-delay-ms = <100>; + + wakeup-source; + }; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; + +&ap_sar_sensor0 { + status = "okay"; +}; + +&ap_sar_sensor1 { + status = "okay"; +}; + +&mdss_edp { + status = "okay"; +}; + +&mdss_edp_phy { + status = "okay"; +}; + +/* For nvme */ +&pcie1 { + status = "okay"; +}; + +/* For nvme */ +&pcie1_phy { + status = "okay"; +}; + +&pwmleds { + status = "okay"; +}; + +/* For eMMC */ +&sdhc_1 { + status = "okay"; +}; + +/* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */ + +&ts_rst_conn { + bias-disable; +}; + +/* PINCTRL - BOARD-SPECIFIC */ + +/* + * Methodology for gpio-line-names: + * - If a pin goes to herobrine board and is named it gets that name. + * - If a pin goes to herobrine board and is not named, it gets no name. + * - If a pin is totally internal to Qcard then it gets Qcard name. + * - If a pin is not hooked up on Qcard, it gets no name. + */ + +&pm8350c_gpios { + gpio-line-names = "FLASH_STROBE_1", /* 1 */ + "AP_SUSPEND", + "PM8008_1_RST_N", + "", + "", + "", + "PMIC_EDP_BL_EN", + "PMIC_EDP_BL_PWM", + ""; +}; + +&tlmm { + gpio-line-names = "AP_TP_I2C_SDA", /* 0 */ + "AP_TP_I2C_SCL", + "SSD_RST_L", + "PE_WAKE_ODL", + "AP_SAR_SDA", + "AP_SAR_SCL", + "PRB_SC_GPIO_6", + "TP_INT_ODL", + "HP_I2C_SDA", + "HP_I2C_SCL", + + "GNSS_L1_EN", /* 10 */ + "GNSS_L5_EN", + "SPI_AP_MOSI", + "SPI_AP_MISO", + "SPI_AP_CLK", + "SPI_AP_CS0_L", + /* + * AP_FLASH_WP is crossystem ABI. Schematics + * call it BIOS_FLASH_WP_OD. + */ + "AP_FLASH_WP", + "", + "AP_EC_INT_L", + "", + + "UF_CAM_RST_L", /* 20 */ + "WF_CAM_RST_L", + "UART_AP_TX_DBG_RX", + "UART_DBG_TX_AP_RX", + "", + "PM8008_IRQ_1", + "HOST2WLAN_SOL", + "WLAN2HOST_SOL", + "MOS_BT_UART_CTS", + "MOS_BT_UART_RFR", + + "MOS_BT_UART_TX", /* 30 */ + "MOS_BT_UART_RX", + "PRB_SC_GPIO_32", + "HUB_RST_L", + "", + "", + "AP_SPI_FP_MISO", + "AP_SPI_FP_MOSI", + "AP_SPI_FP_CLK", + "AP_SPI_FP_CS_L", + + "AP_EC_SPI_MISO", /* 40 */ + "AP_EC_SPI_MOSI", + "AP_EC_SPI_CLK", + "AP_EC_SPI_CS_L", + "LCM_RST_L", + "EARLY_EUD_N", + "", + "DP_HOT_PLUG_DET", + "IO_BRD_MLB_ID0", + "IO_BRD_MLB_ID1", + + "IO_BRD_MLB_ID2", /* 50 */ + "SSD_EN", + "TS_I2C_SDA_CONN", + "TS_I2C_CLK_CONN", + "TS_RST_CONN", + "TS_INT_CONN", + "AP_I2C_TPM_SDA", + "AP_I2C_TPM_SCL", + "PRB_SC_GPIO_58", + "PRB_SC_GPIO_59", + + "EDP_HOT_PLUG_DET_N", /* 60 */ + "FP_TO_AP_IRQ_L", + "", + "AMP_EN", + "CAM0_MCLK_GPIO_64", + "CAM1_MCLK_GPIO_65", + "WF_CAM_MCLK", + "PRB_SC_GPIO_67", + "FPMCU_BOOT0", + "UF_CAM_SDA", + + "UF_CAM_SCL", /* 70 */ + "", + "", + "WF_CAM_SDA", + "WF_CAM_SCL", + "", + "", + "EN_FP_RAILS", + "FP_RST_L", + "PCIE1_CLKREQ_ODL", + + "EN_PP3300_DX_EDP", /* 80 */ + "US_EURO_HS_SEL", + "FORCED_USB_BOOT", + "WCD_RESET_N", + "MOS_WLAN_EN", + "MOS_BT_EN", + "MOS_SW_CTRL", + "MOS_PCIE0_RST", + "MOS_PCIE0_CLKREQ_N", + "MOS_PCIE0_WAKE_N", + + "MOS_LAA_AS_EN", /* 90 */ + "SD_CD_ODL", + "", + "", + "MOS_BT_WLAN_SLIMBUS_CLK", + "MOS_BT_WLAN_SLIMBUS_DAT0", + "HP_MCLK", + "HP_BCLK", + "HP_DOUT", + "HP_DIN", + + "HP_LRCLK", /* 100 */ + "HP_IRQ", + "", + "", + "GSC_AP_INT_ODL", + "EN_PP3300_CODEC", + "AMP_BCLK", + "AMP_DIN", + "AMP_LRCLK", + "UIM1_DATA_GPIO_109", + + "UIM1_CLK_GPIO_110", /* 110 */ + "UIM1_RESET_GPIO_111", + "PRB_SC_GPIO_112", + "UIM0_DATA", + "UIM0_CLK", + "UIM0_RST", + "UIM0_PRESENT_ODL", + "SDM_RFFE0_CLK", + "SDM_RFFE0_DATA", + "WF_CAM_EN", + + "FASTBOOT_SEL_0", /* 120 */ + "SC_GPIO_121", + "FASTBOOT_SEL_1", + "SC_GPIO_123", + "FASTBOOT_SEL_2", + "SM_RFFE4_CLK_GRFC_8", + "SM_RFFE4_DATA_GRFC_9", + "WLAN_COEX_UART1_RX", + "WLAN_COEX_UART1_TX", + "PRB_SC_GPIO_129", + + "LCM_ID0", /* 130 */ + "LCM_ID1", + "", + "SDR_QLINK_REQ", + "SDR_QLINK_EN", + "QLINK0_WMSS_RESET_N", + "SMR526_QLINK1_REQ", + "SMR526_QLINK1_EN", + "SMR526_QLINK1_WMSS_RESET_N", + "PRB_SC_GPIO_139", + + "SAR1_IRQ_ODL", /* 140 */ + "SAR0_IRQ_ODL", + "PRB_SC_GPIO_142", + "", + "WCD_SWR_TX_CLK", + "WCD_SWR_TX_DATA0", + "WCD_SWR_TX_DATA1", + "WCD_SWR_RX_CLK", + "WCD_SWR_RX_DATA0", + "WCD_SWR_RX_DATA1", + + "DMIC01_CLK", /* 150 */ + "DMIC01_DATA", + "DMIC23_CLK", + "DMIC23_DATA", + "", + "", + "EC_IN_RW_ODL", + "HUB_EN", + "WCD_SWR_TX_DATA2", + "", + + "", /* 160 */ + "", + "", + "", + "", + "", + "", + "", + "", + "", + + "", /* 170 */ + "MOS_BLE_UART_TX", + "MOS_BLE_UART_RX", + "", + "", + ""; +};