From patchwork Wed Nov 23 04:13:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 24693 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2583553wrr; Tue, 22 Nov 2022 20:16:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf5bxPEDPP/qVXEHzHAyweRl2dSJbyTXwF8kOXMbGJBuDNq4mcrLG6cQGy2s8rm/sloGqW9G X-Received: by 2002:a17:906:7c44:b0:7b2:7096:6c2 with SMTP id g4-20020a1709067c4400b007b2709606c2mr22551230ejp.526.1669176971468; Tue, 22 Nov 2022 20:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669176971; cv=none; d=google.com; s=arc-20160816; b=ZL1nvWNBKPzURp9J6mqY7x5mSsLJtZDiwDe2xwbKKxhMUS0uGqsxzR+O3msveShjMl wRwbz7zm9EhhfIz1V7Vl2vUwshllsJgy3q+lFvWJaxm3t8kcq+QaZ2hebccseGaOSzN4 lORLOmlNggelqZN/ZPPOHd3xq2cPVYa2bLfvXfu9kNv2vh+cTx/TRQy9H8amD9G3vB2n +mTyfbjacIJAhpN+DI2HFEwQpjoucb1WWH539cKleSyz/s9OFsD/qJ/zKM3qzfXnMuof HXKmDblSq9YpVKt/Q1n8Fi4k0S1EmFwRoa0pbkzQIotpYQyj/KodUQVIBacQ0wUYqDqX 6nSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=vucYwH44vada8ZS4xeW86emggjOf64YACa1sNFU1WAE=; b=bQ1TCXK2eq5InYoe0thvOquJV43uC4k1ln3yv4E/QEz56k3qtqFp8/dXB7yFHiCbnp Wdvhd0NlZg7xiE9xIpM4m8CSeWbX7OiM7mNrb3GtJxtS6pczFmZDVh87w4mcqxKMQ4Ii bT+QQE14vC/g5e4oboPO9R8EpxtdP0/xqbwbJTkA8nkG3pCQbB/yY2AP/MkB6TWIwD7w Y3/rWCACW+p8pWwXQvvfroc37hrsJPl0WiKAyPEUH1FtTON1Vna3dxgLwHt1L3ObjarC a/nMlzlpRIlhPen1B/qRT1w+K9NXgduBfSW7etUnAExaDDsm24bWqGpqus0buE88CeEw L6Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=SAizi2iN; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga4-20020a1709070c0400b007ade20fc40csi14880255ejc.810.2022.11.22.20.15.46; Tue, 22 Nov 2022 20:16:11 -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=@protonmail.com header.s=protonmail3 header.b=SAizi2iN; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235787AbiKWEO6 (ORCPT + 99 others); Tue, 22 Nov 2022 23:14:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235784AbiKWEOY (ORCPT ); Tue, 22 Nov 2022 23:14:24 -0500 Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A5F6E9145; Tue, 22 Nov 2022 20:13:26 -0800 (PST) Date: Wed, 23 Nov 2022 04:13:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669176802; x=1669436002; bh=vucYwH44vada8ZS4xeW86emggjOf64YACa1sNFU1WAE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=SAizi2iNERss6Ghv8TGGMlAb0KQnkwMay1OtmNP3gKRr62Ls8anTi2SaHlEnbXytX EOz8uUjgR+9pdUPro508PVinIpkXBl324BVQKly9RJ/GHYBMoc/XkXt3v80A1AK9nq ukKPEguiFYLiAf5Klad4AG4TnNICZWr7+Y/sZefmggKQ61NkFjbRX7tABYlnJSkT79 UEgYhtUT75SHg1XpznlP6fG+L8NG6kiuQn4h9S4RqdFsckgGwDlpBdFsnSRaXutOAM F+FjQ+mhmzqo+EmpT2CowcAl8X71CJqAVOdU7r80dXB4rPt2xJy6bsmhKsRW7YbprB JWVO/6HJP3jlw== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Stanislav Jakubek , Shawn Guo , Stephan Gerhold , Nikita Travkin , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Krzysztof Kozlowski Subject: [PATCH v4 1/5] dt-bindings: vendor-prefixes: Add GPLUS Message-ID: <20221123041220.150893-1-linmengbo0689@protonmail.com> In-Reply-To: <20221123041110.150837-1-linmengbo0689@protonmail.com> References: <20221123041110.150837-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_PASS,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?1750258912082425598?= X-GMAIL-MSGID: =?utf-8?q?1750258912082425598?= Add vendor prefix for GPLUS. https://www.gplus.com.tw Signed-off-by: Lin, Meng-Bo Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index be7554349545..f5a7e0309e2b 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -510,6 +510,8 @@ patternProperties: description: Shenzhen Huiding Technology Co., Ltd. "^google,.*": description: Google, Inc. + "^gplus,.*": + description: GPLUS "^grinn,.*": description: Grinn "^grmn,.*": From patchwork Wed Nov 23 04:13:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 24695 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2583699wrr; Tue, 22 Nov 2022 20:16:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf4meVzhmNBb1gyjqPTA0m/CapcXR7nYlwJSwbe2l49bWTqoD8QbnraNJ/CSY1GQImg/5/9k X-Received: by 2002:a05:6402:1f14:b0:461:c7ef:b09e with SMTP id b20-20020a0564021f1400b00461c7efb09emr10432732edb.58.1669177002660; Tue, 22 Nov 2022 20:16:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669177002; cv=none; d=google.com; s=arc-20160816; b=BbjLtwAW78+G9NnDCer202vkdrP2aOA9/qrJnn2MpcVF72mSx2d94MTZBCw8XYoP5e FDc5SlQwqFlFEw52V3a5zEbJGtiUlylYuxbBbGvd8vZripPdEx0FDWij/Y5JjLN1+SuT IMQxmvhIi48CiqjRJY51FVLiO90Ln6fpP4G+JhZXklrBgU1N/Tyd+KlCoTuCjlL/eNuN kaRCq7VXXSE7DzXgmPpHWUZ+n1xScvR3E9/GWqzK81E3PMVa9e18iqfu/6MnmoEGwO0A RZnaYY2//W0seml8hZR2buLXhbY0HxWXSW5Xq9xXjs5Sjs/ysPo2sUbTGhDSQLvau1tU qF1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=iZV4jMjwSd5s27CRv+6a+52wBdjGQm1GF/F0PZLQgpE=; b=eDFmpJ2MAGtvtsYP09Yqi03MHXNnC+bSPEHC4jAXHRPbv3K1rhtaqTYiaTSk+RE55E Z66nwuvQZmM9gJGBOS2Mre7NUx2zMQ61fCV/ZcCyQ6twBeG6UU4Y0z1uYs9O/Ztw2nrj VhwgSu0PzJFtM7506l/bXQhkxv6uDSfnkoSORP2Xu6prrz12pSB+4IbLIEoOaFM5AyUb RCsmcqbt1JmSbZs9kESPCxTz1tlxCwbIaacAtzQNPPuRMcEzRlc9E5zELTxppPwd9jsK tE16mJaGQ082ZXjhnlva0KfbcL71wTRX1Lj296Sti2jOZ1LVOFIW52JaVhXKO+chjX4r ps+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=oLGFWtU6; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a056402440800b0045d46f28533si14860274eda.377.2022.11.22.20.16.15; Tue, 22 Nov 2022 20:16:42 -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=@protonmail.com header.s=protonmail3 header.b=oLGFWtU6; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235846AbiKWEPF (ORCPT + 99 others); Tue, 22 Nov 2022 23:15:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235801AbiKWEOn (ORCPT ); Tue, 22 Nov 2022 23:14:43 -0500 Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5CAEEC0A6; Tue, 22 Nov 2022 20:13:33 -0800 (PST) Date: Wed, 23 Nov 2022 04:13:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669176811; x=1669436011; bh=iZV4jMjwSd5s27CRv+6a+52wBdjGQm1GF/F0PZLQgpE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=oLGFWtU6jzFN4TfvbUTBFPQuPJ/MPulT/sfaQoqltK0SKTOcX91jvtjKYJGdDS+9Z vDN310Kik05tdQdLz2ydqVUxBMTXU7p/ATCAuufTV8TwT1tLort0IxpqRmhipGpUEA cnS5uajxcQEY6fk2fPJTJ/oKauKuaMzIx5cMyO+ou6IBFIav5fjm4t4F5vUhmMXKhD BT9BSXNS5NPLFDm00rFY0/huleNkZle31XLXHoR7e2iNYjbpamTT3P0BjXpL43xvEa uzX107JK77kgDAqYBqJZ4nIFVrsZyAg9JFniQDaZ/Oqq77/zR98YDz2huBfz/SuVL6 BtlN737Fhkfbw== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Stanislav Jakubek , Shawn Guo , Stephan Gerhold , Nikita Travkin , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Krzysztof Kozlowski Subject: [PATCH v4 2/5] dt-bindings: qcom: Document msm8916-gplus-fl8005a Message-ID: <20221123041233.150947-1-linmengbo0689@protonmail.com> In-Reply-To: <20221123041110.150837-1-linmengbo0689@protonmail.com> References: <20221123041110.150837-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_PASS,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?1750258944875960764?= X-GMAIL-MSGID: =?utf-8?q?1750258944875960764?= Document the new gplus,fl8005a device tree bindings used in its device tree. Signed-off-by: Lin, Meng-Bo 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 463509f0f23a..e19aee193c2b 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -182,6 +182,7 @@ properties: - enum: - alcatel,idol347 - asus,z00l + - gplus,fl8005a - huawei,g7 - longcheer,l8910 - samsung,a3u-eur From patchwork Wed Nov 23 04:13:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 24697 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2583929wrr; Tue, 22 Nov 2022 20:17:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf6kEAjktKGK1uXPsJn4LorFyD2GUpD5gCwOWfq/GIvPgC67zPZM5Q/hkICrXMGNGxa/8zkb X-Received: by 2002:a05:6402:184a:b0:469:4d00:9f95 with SMTP id v10-20020a056402184a00b004694d009f95mr15643872edy.64.1669177042120; Tue, 22 Nov 2022 20:17:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669177042; cv=none; d=google.com; s=arc-20160816; b=ed4K7AEiPhSP/tYBLlBGLpeUQrr1vSKEH4y76C4laUlZLw1U30mvjFEfTPd4ujHGW3 pqUAwu/TWhLNpdoZk/gdn11fNgUYQ936p+VlioQuB1kvcZNrtgimCIJmlQQNgKCdmDjf pHdV+qyq2CB/945H/2j6CMBPhj0GrIwIIpUyFOqxi22WKrhsuYFSGhl04lgSyJF/arK9 NZ4ttPRX4yrMEgSv/w4VedlQwAGEauFXHjzLZPToNs6filVn/VU73bfRxoQtyDTp+uVm kK+OcUD6hO8fcskMBEYsvxQ7xCCIAd9/5f5G2zo3YlRle9YxQrQJiLl0aN095HbmhR/J I10A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=zF5fmUK3Q8g05iJ5k15Egy6Y5LOLN97oQkdZYYlMPbI=; b=k5paO3NqISD3ntQXe6mhmnJ6d6gzGa5gk0lvkw1Z/VHhRGtQaBTTxW/2Df1bii+WRP HzfFTo2/gj0q9g8vaizwjtfxk4s5+9jRGf8JAPfs++jtPO+O5fJKY1ZMHHPEwBHTWiAL DMYfcLOy8KaD0pdFJE4SpMXqoGI1IIzXs5p/oTAuHjoIQ3bhKk8JceV9/dVvfmxGUF3B iHS/gnA7C0Cq2eiCUYWOonhRbOuE1eE8Km6GLpAu+pATD4RrtAKyH0sWL0vJE6s8W+46 338UYEW/fX+g0XZwxCENh3XoCaUSCD2TyO0PumtEIj7aXT2AN/5WJuyMTTz+S5zzdc2k fjkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=AuHJkrdz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wb1-20020a170907d50100b0078d9be7f100si6885506ejc.852.2022.11.22.20.16.56; Tue, 22 Nov 2022 20:17: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=@protonmail.com header.s=protonmail3 header.b=AuHJkrdz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235781AbiKWEPp (ORCPT + 99 others); Tue, 22 Nov 2022 23:15:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235812AbiKWEOs (ORCPT ); Tue, 22 Nov 2022 23:14:48 -0500 Received: from mail-4027.protonmail.ch (mail-4027.protonmail.ch [185.70.40.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41D73EC0B7 for ; Tue, 22 Nov 2022 20:13:38 -0800 (PST) Date: Wed, 23 Nov 2022 04:13:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669176816; x=1669436016; bh=zF5fmUK3Q8g05iJ5k15Egy6Y5LOLN97oQkdZYYlMPbI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=AuHJkrdzKoj+cNp1CciyCPKpVCfp3IccQMwyRVjYQLX1NBaapF4AIYexVB8Bw3kwl 1IVYqUpYJLpnmu2JWNYzRSg0lw+gZkVzefRiBs7op324b46ZWsEdLm+fC9SlQaMahP kPUeexH+g7pVaOiRFO+EEfPrNNd9Fuq6ig53A3m2Gg0Mnz6aj7Qhn7ycizzoiWhCYU CaZEX6C7SpBRZtxEiOe8PtzYV8lQ9H9yoVt5MoDqLXh+Rlln9mHHoK9jwDdTIXu2eV nvQ5qhITfDsVjokjt1MG24y9GFRO9bwHBScR1SaMpKyJcjXnD5Ztu1UTGknP0Em6id x78uOntYIpBXw== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Stanislav Jakubek , Shawn Guo , Stephan Gerhold , Nikita Travkin , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v4 3/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add initial device tree Message-ID: <20221123041247.151001-1-linmengbo0689@protonmail.com> In-Reply-To: <20221123041110.150837-1-linmengbo0689@protonmail.com> References: <20221123041110.150837-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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?1750258756931082535?= X-GMAIL-MSGID: =?utf-8?q?1750258985943986968?= GPLUS FL8005A is a tablet using the MSM8916 SoC released in 2015. Add a device tree for with initial support for: - GPIO keys - GPIO LEDs - pm8916-vibrator - SDHCI (internal and external storage) - USB Device Mode - UART - WCNSS (WiFi/BT) - Regulators Signed-off-by: Lin, Meng-Bo --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8916-gplus-fl8005a.dts | 239 ++++++++++++++++++ 2 files changed, 240 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index afe496a93f94..5a2dcf726159 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c1.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c2.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-alcatel-idol347.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-asus-z00l.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8916-gplus-fl8005a.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-huawei-g7.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-longcheer-l8150.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-longcheer-l8910.dtb diff --git a/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts b/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts new file mode 100644 index 000000000000..a8e8d5273e75 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts @@ -0,0 +1,239 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-pm8916.dtsi" + +#include +#include +#include + +/ { + model = "GPLUS FL8005A"; + compatible = "gplus,fl8005a", "qcom,msm8916"; + chassis-type = "tablet"; + + aliases { + serial0 = &blsp1_uart2; + }; + + chosen { + stdout-path = "serial0"; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-names = "default"; + pinctrl-0 = <&gpio_keys_default>; + + label = "GPIO Buttons"; + + button-volume-up { + label = "Volume Up"; + gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + pinctrl-names = "default"; + pinctrl-0 = <&gpio_leds_default>; + + led-red { + function = LED_FUNCTION_CHARGING; + color = ; + gpios = <&msmgpio 117 GPIO_ACTIVE_HIGH>; + retain-state-suspended; + }; + + led-green { + function = LED_FUNCTION_CHARGING; + color = ; + gpios = <&msmgpio 118 GPIO_ACTIVE_HIGH>; + retain-state-suspended; + }; + }; + + usb_id: usb-id { + compatible = "linux,extcon-usb-gpio"; + id-gpio = <&msmgpio 110 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&usb_id_default>; + }; +}; + +&blsp1_uart2 { + status = "okay"; +}; + +&pm8916_resin { + linux,code = ; + status = "okay"; +}; + +&pm8916_vib { + status = "okay"; +}; + +&pronto { + status = "okay"; +}; + +&sdhc_1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; + pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; + + status = "okay"; +}; + +&sdhc_2 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; + pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; + + cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; + + status = "okay"; +}; + +&usb { + extcon = <&usb_id>, <&usb_id>; + status = "okay"; +}; + +&usb_hs_phy { + extcon = <&usb_id>; +}; + +&smd_rpm_regulators { + vdd_l1_l2_l3-supply = <&pm8916_s3>; + vdd_l4_l5_l6-supply = <&pm8916_s4>; + vdd_l7-supply = <&pm8916_s4>; + + s3 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1300000>; + }; + + s4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2100000>; + }; + + l1 { + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + }; + + l2 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + l4 { + regulator-min-microvolt = <2050000>; + regulator-max-microvolt = <2050000>; + }; + + l5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + l6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + l7 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + l8 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2900000>; + }; + + l9 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + l10 { + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <2800000>; + }; + + l11 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + regulator-system-load = <200000>; + regulator-allow-set-load; + }; + + l12 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + }; + + l13 { + regulator-min-microvolt = <3075000>; + regulator-max-microvolt = <3075000>; + }; + + l14 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + l15 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + l16 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + l17 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; + + l18 { + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <2700000>; + }; +}; + +&msmgpio { + gpio_keys_default: gpio-keys-default-state { + pins = "gpio107"; + function = "gpio"; + + drive-strength = <2>; + bias-pull-up; + }; + + gpio_leds_default: gpio-led-default-state { + pins = "gpio117", "gpio118"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + + usb_id_default: usb-id-default-state { + pins = "gpio110"; + function = "gpio"; + + drive-strength = <8>; + bias-pull-up; + }; +}; From patchwork Wed Nov 23 04:13:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 24700 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2584222wrr; Tue, 22 Nov 2022 20:18:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf7O2HmH23HagTUsvgFloNu9tFRPwBJ9JmaKaY02CRXIJ8u3v3eMsTzsIWw1Y2sGLpvG/LeT X-Received: by 2002:a17:906:c404:b0:7ad:821f:a3e5 with SMTP id u4-20020a170906c40400b007ad821fa3e5mr6310512ejz.554.1669177094415; Tue, 22 Nov 2022 20:18:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669177094; cv=none; d=google.com; s=arc-20160816; b=k2CrZVKvxhZDol9IYPEmhN4k7z+iLP1MI+L4FZFoKK8lhVqnmVH/T5LiRJwzIZgdmF ETT6mNHtRFhDuwuPR0cnxqdMP9ZUKtki89i7TPBDhKB73YJMajTUxQB50HDvxURd0w3Z c9z1lvW6RyogTdnZB7oLy3w2ud02JncY43t3IcR3MauuFAhYNC3hmLxXANYAX1H13Y53 tTqYywRDg9dp08NZlR1kokZBHqrUw4O5VicEfvfeh5ndas5bu/eys/fYjkqApGXvzoW+ opnNLK5KmYKG7W5uV+rVCn0o1g/Sd6OxNb0u8CkYJyMucC+ZXQzGVx8EB73HDcIVlxYU fkcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=GqWfwOkoBVZ9tw8IM+eBPsfBSmvmLyw9g6tZ93oFnPU=; b=mzQo91GLssYfGVhXesjfsLEmqqrAW0urqndbahKnIbThKPWoBGHc5UrJTU3FQAMFcl m2y0KWDmu8FJcuSKhoEu6H+xW9+3m2ZFcz1/rSifeWlhCFd37G6FEZoSNp3YriYU6U4x uZY7935M4ogLY8l3FL2261w2HUi/mhN3U2GXajTUwu2vHXUMnJ1Ay3sulGfu83/7smSg eya7lW/dOPuQqqOBMJvr4Mcuv+0VawwhrIZoohi10y0w0q6S/VBOXyY9Rd6Te07tYPDR qVN4eW04yF/dP5XuJ7jIPcEkThxjairm757tfjLMCT+uc5UtUyW1tNiFyFArfYUNoXqT YwAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=RheSMddl; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r25-20020aa7cfd9000000b00469a5b7de5esi5358304edy.567.2022.11.22.20.17.48; Tue, 22 Nov 2022 20:18:14 -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=@protonmail.com header.s=protonmail3 header.b=RheSMddl; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235783AbiKWEQ4 (ORCPT + 99 others); Tue, 22 Nov 2022 23:16:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235760AbiKWEQI (ORCPT ); Tue, 22 Nov 2022 23:16:08 -0500 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA364ECCE9; Tue, 22 Nov 2022 20:13:59 -0800 (PST) Date: Wed, 23 Nov 2022 04:13:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669176838; x=1669436038; bh=GqWfwOkoBVZ9tw8IM+eBPsfBSmvmLyw9g6tZ93oFnPU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=RheSMddl0+arzZFhrB+RHBoNebzACA6v3Wp+2e93hTyv8xpO4BP7LLX7HvGdkcwHP guVY2BejlZcAglJeQnX08SZ07NElYmV8xrLWaDe0bat6t+rrINkZmuHML9VuCQ8tQP BeyESxQtlgs6uJkAnhxNy+XabKNVpDICmaV/24AnsTjjJ2jCCr12nd1Kd50pNfO4N5 ylx+DqRmSfWTHXP5pVQ1Ec8rw8vmvGCv+2b9+LqqmF7JHoEyDpkjuYONeT785XJxTT ki1l82oYrl/q5Rzcw/75UZ30X1GolDfnMk/lzmeB9qCTso/vZuhZXDQ/wWCkqEwb2Q BIdo3ruh5CrCw== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Stanislav Jakubek , Shawn Guo , Stephan Gerhold , Nikita Travkin , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v4 4/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add touchscreen Message-ID: <20221123041300.151055-1-linmengbo0689@protonmail.com> In-Reply-To: <20221123041110.150837-1-linmengbo0689@protonmail.com> References: <20221123041110.150837-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_PASS,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?1750259041020702449?= X-GMAIL-MSGID: =?utf-8?q?1750259041020702449?= FL8005A uses a Focaltech FT5402 touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Lin, Meng-Bo Reviewed-by: Konrad Dybcio --- .../boot/dts/qcom/msm8916-gplus-fl8005a.dts | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts b/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts index a8e8d5273e75..2cac99e3e52c 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts @@ -65,6 +65,32 @@ usb_id: usb-id { }; }; +&blsp_i2c5 { + status = "okay"; + + touchscreen@38 { + /* Actually ft5402 */ + compatible = "edt,edt-ft5406"; + reg = <0x38>; + + interrupt-parent = <&msmgpio>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + + reset-gpios = <&msmgpio 12 GPIO_ACTIVE_LOW>; + + vcc-supply = <&pm8916_l17>; + iovcc-supply = <&pm8916_l6>; + + touchscreen-size-x = <800>; + touchscreen-size-y = <500>; + touchscreen-inverted-x; + touchscreen-swapped-x-y; + + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_default>; + }; +}; + &blsp1_uart2 { status = "okay"; }; @@ -229,6 +255,24 @@ gpio_leds_default: gpio-led-default-state { bias-disable; }; + touchscreen_default: touchscreen-default-state { + reset-pins { + pins = "gpio12"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + + touchscreen-pins { + pins = "gpio13"; + function = "gpio"; + + drive-strength = <2>; + bias-pull-up; + }; + }; + usb_id_default: usb-id-default-state { pins = "gpio110"; function = "gpio"; From patchwork Wed Nov 23 04:14:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 24701 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2584389wrr; Tue, 22 Nov 2022 20:18:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf5pehDEdTMCbdCfRql5VcRnyPbVEw6FkYh0gaaqM39OTAKicW5xPLSB7AAZOddtOyFgTLSt X-Received: by 2002:a17:906:4b18:b0:7a1:b573:c99e with SMTP id y24-20020a1709064b1800b007a1b573c99emr6205435eju.55.1669177124781; Tue, 22 Nov 2022 20:18:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669177124; cv=none; d=google.com; s=arc-20160816; b=Xt1gCMc0TfdV+WJJz4tVlav1P3kSmpBjE+E0U4/7GL4zzSXh4XKzYRqn5PshOAsuvs ipUlDgFuybd6w7mSJu4eQyBo9O/iDcIg0zoQk8SaC7ZIXcMjTyBUxPx1kGI7EqrDAkGf Of0o0VS3C+ZDoGma0ZLPD1fti6z/tp57+RpIFm9xZQU+fQ5kv17EQ4jD1W37IDCvcbfC XNpaMu9HTJu/5eJ8qXXeJwkMJCw4MaQJEWZwR8eusjZWj24r9xUOSdyEFGZALY06oRnZ FieTZP3HFMf/b+iAWBwQ3TY6DL6TcuWxQVB5FEO7lSC05VFooTLzmVeN5p7xXWq1cy6C uMxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=mKT0b3j/bY3j0Y2khrfg5ryVKfOy6kNma6mcjHf4UFk=; b=qhd4P/EOpj+PtJ1QeN5zE0F4ktwvvCYcwJmWTDMmBRPvt2j3c/aIxE949jiMXDPJGB DybSF7gg5W+zu0jR/fKFonBuxxAhWIGx143BjCZZSAPgaN0frVFedmQOCe+94CPmIsL7 V4p2+DNE2t2X8/xfBNvN+hJ7H9UG3pg9FVfuTQU95hUEQ8ZRw65kCULcymtOP9YvfCGH 1ifUORt9/VSxjQn2u6m7o45p4TtXIS3krrTVrvMOHU3pKySgTEqGAsrAYyhtQqsp2An9 MUzaQ8jJC65n+l4wYM+pxkzAh4ugM8xqmJpWBuedN0BIVIwlU5MybcPUOAv1+AMLnLZe BvWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=QlzoiIgI; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd9-20020a1709076e0900b007826e727aeasi14898872ejc.44.2022.11.22.20.18.19; Tue, 22 Nov 2022 20:18:44 -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=@protonmail.com header.s=protonmail3 header.b=QlzoiIgI; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235909AbiKWERJ (ORCPT + 99 others); Tue, 22 Nov 2022 23:17:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235833AbiKWEQN (ORCPT ); Tue, 22 Nov 2022 23:16:13 -0500 Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BF7AB865; Tue, 22 Nov 2022 20:14:05 -0800 (PST) Date: Wed, 23 Nov 2022 04:14:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669176844; x=1669436044; bh=mKT0b3j/bY3j0Y2khrfg5ryVKfOy6kNma6mcjHf4UFk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=QlzoiIgIT1vfZMLnPBiYQwgr5bxtWJ4jO5ZgkfOpyKANElPswtZ31Qulx5qnKcvcn Xmx7dep6ZZiyA9Bv1II9vhj5K5uIArfLh82n4mqNQGMBJN3oDFbD0lIKY/815ZSNyv UIREjBtljutP9mZCZqxtdyWeo8G3tR6SQcZR1YcwcT89ETB1JPXvaRgOmACVuW3zRX QU8pajwn+pgu745hK0ucrrrli8/BCyIEPRK057KN7P6AD1AsP3O+FovzrJYb5nR5my jB6Bujw9qXWc/xHAgfOzeL95l+YK+slX79r5FL+rBozMtA4MWxZfPwiB3S/EyYakjc SpcksM36VeNkA== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Stanislav Jakubek , Shawn Guo , Stephan Gerhold , Nikita Travkin , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v4 5/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add flash LED Message-ID: <20221123041312.151109-1-linmengbo0689@protonmail.com> In-Reply-To: <20221123041110.150837-1-linmengbo0689@protonmail.com> References: <20221123041110.150837-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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?1750259072508969861?= X-GMAIL-MSGID: =?utf-8?q?1750259072508969861?= FL8005A uses SGM3140 Flash LED driver. Add it to the device tree. Signed-off-by: Lin, Meng-Bo Reviewed-by: Konrad Dybcio --- .../boot/dts/qcom/msm8916-gplus-fl8005a.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts b/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts index 2cac99e3e52c..b28d7d0f1ed5 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts @@ -21,6 +21,21 @@ chosen { stdout-path = "serial0"; }; + flash-led-controller { + compatible = "sgmicro,sgm3140"; + enable-gpios = <&msmgpio 31 GPIO_ACTIVE_HIGH>; + flash-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <&camera_flash_default>; + + flash_led: led { + function = LED_FUNCTION_FLASH; + color = ; + flash-max-timeout-us = <250000>; + }; + }; + gpio-keys { compatible = "gpio-keys"; @@ -239,6 +254,14 @@ l18 { }; &msmgpio { + camera_flash_default: camera-flash-default-state { + pins = "gpio31", "gpio32"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + gpio_keys_default: gpio-keys-default-state { pins = "gpio107"; function = "gpio";