From patchwork Mon Nov 21 13:29:25 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: 23738 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1587419wrr; Mon, 21 Nov 2022 05:30:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf73jjhRBqOWOH8td6Pa+sfiAGRUcY7POoe6RK5GmvZDzsVPSo1R8U5m6oSDe3rcGnqIx7kg X-Received: by 2002:a17:906:3c4d:b0:78d:f2d8:4623 with SMTP id i13-20020a1709063c4d00b0078df2d84623mr16057710ejg.274.1669037435536; Mon, 21 Nov 2022 05:30:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669037435; cv=none; d=google.com; s=arc-20160816; b=Km40VeRT20u7WRE1i5rDgid3VYDovAhzLuclmTw1ljIuGHhFSTxSQu5ghWMpNz/DcJ qilGOPOFSCUvZ8iq/GdHkxhwiaR+jIDjzciqtWC/YsMf/XM8pjO/s6BL1M3R1lvFx/tS KxjB4I4gRifbAmQ++hnSxXOkIa6YDfY/Y2V8mDEsBHjCk9MRPJ8SFrAc1DPY6OZl39dN +5MftspC6oB5hXBZBGFFhXyNtR7dIy7TanG+aLVzIAVQZIjYXrN3JL67/snWzCbW7O1H 0jTh1uj+5O0cj1EcR3QmXVx5vRnFTEFquQOxlFPe+zomvw+7tTuH/9me5GzvsjO0zXen 5v1g== 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=iAkivmj3gefjqxYE/qDc/bqpulbKRvyU/+UKu8I5On8=; b=lydgpBU4J8WwqTNRSh/7+MgIMrkc6WyGCdsIeeJw7pStLsiLTxSXbHjDpLzRfCvasN cDA++u6snFFqmWjGF0FwCSu0K1mOYgP9MrcSepdPy0BTthOQkGF28LS6gugpdNqVrLd0 dXYRgJJl8Gev7Qo6lSjaOkJaEs1IHHkX4eX9n2UTaBpf1ysI0J+fupMWlG8wHz7ClslH hNSuj1aiRphyn0OpLd0OGsbdHd7ncnPPdYtgOzJvht5fa5P3KF7VatKtisQ4ZcVNsfho uY6O0Iputc1d/TTpiglS9LsOOA/4MVfZ6aYWsDR+AFxAP63HI9S0qdPCthllKMe04M9U RQaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=A3vnEs2N; 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 h9-20020a0564020e8900b0046771df01d7si8306470eda.467.2022.11.21.05.30.08; Mon, 21 Nov 2022 05:30:35 -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=A3vnEs2N; 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 S230126AbiKUN3e (ORCPT + 99 others); Mon, 21 Nov 2022 08:29:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbiKUN3c (ORCPT ); Mon, 21 Nov 2022 08:29:32 -0500 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC1C02BB0F for ; Mon, 21 Nov 2022 05:29:30 -0800 (PST) Date: Mon, 21 Nov 2022 13:29:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669037368; x=1669296568; bh=iAkivmj3gefjqxYE/qDc/bqpulbKRvyU/+UKu8I5On8=; 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=A3vnEs2NoatxOxiKqOt/w1z4vVeeNLGwKOSk/u7bjbXq+HB1WHuJxdFXhCRsY77Df RxwOawyV1WSyc94hQkfugpMgjymDwhcCseGuiehCFYreb1P2ML7S1kIa2Khunk2nbk HeN3B81VpxLiyDJLpXjjV2qZjd+/o/A6Tfk45HUfTK+wrBGZEfF1cQDjKorhNwHnl3 GGLQzBQI7MdKHR/mSk/sjOh3rP70QxxLBm0qPu6tyJjY8oR05bFaDdnjoAoH+kqSFa 03e+pLpOcICwqtEb3QCEGWv4BIs+f0Gruf4RLxyOSxkF6MVHIbzPqXOK1vCYoVP0EP MmAPfVi5OPnIw== 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 v3 1/5] dt-bindings: vendor-prefixes: Add GPLUS Message-ID: <20221121132756.206891-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121132139.206581-1-linmengbo0689@protonmail.com> References: <20221121132139.206581-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?1750112598315289152?= X-GMAIL-MSGID: =?utf-8?q?1750112598315289152?= 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 10c178d97b02..e3f5bb5bb3f4 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 Mon Nov 21 13:29:26 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: 23739 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1587551wrr; Mon, 21 Nov 2022 05:30:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf5dpH2qjPY1s8nM8k0ovY1Z0JPsesjBz35L2x4WC9yPwFyo6mWeIpj6I5jtKt23lnefMajZ X-Received: by 2002:a17:907:9151:b0:7ae:df97:c03d with SMTP id l17-20020a170907915100b007aedf97c03dmr7668006ejs.125.1669037447164; Mon, 21 Nov 2022 05:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669037447; cv=none; d=google.com; s=arc-20160816; b=jZZR91fNLnXlgcLWkJwy8lNIINEhME5j3nb3XRVysvCOhyM5oRWSRZNQ9WDCJrCaSz ycbyVdAhvyZI/wueTvxKtFtFlZLbfVQyjOUG9MyQkc1llYfE1QI1OPhsqMSdp4XJzjfP 30HPAkx3pcugFGk0jtQ2uTVRZZHpquVQo8kq4koeI4b/oVg4/w2Hfq/V4ulgffthx3q3 YIuzGpqXE7TM5pTqOwzHBNDOSbP/S9s6LLgaCKSayBcb2YGw2idi4UJAhpId1amUfrHd B6ioKkSNfGIdmH6o2fNP/WBIKU+B/+Je48qyOTCzPOaaRoZa92HpH2/4D0Axs+nd1rkd 1pgQ== 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=nN2SRaRhK4J2YGpbAQ2CoaawxjhflYe/Z0b3W3nZ8r5Ev2SrUd3T50bsvG6LF2MFb9 YtdGos6omD1i5VvuG2oloFoutv9CBUzJ36mZRlApBRoaQsJzokxOfOdQUQF2WvVE6fKX HN6YrR6KW0TbvhGwbpF07PZALFIJUdqMbncJcLBLoRvTOBVgMc0oISbC7SQDLPHNsY+/ TTIfcNMCr0+LxvsiaFAniT4Sz3E23iW9TrzDn1b2oehn4TWJWFrexVIvM6AUVujGlnFv o4qBtHcQCCH7jQJnu3jictIsnNdl0YDZlYWnEoxBnr1AtSgNwDpun5MOOVQcDM9uednI 4BoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=GzgljPjC; 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 n4-20020aa7db44000000b00469a82a09f2si1610965edt.325.2022.11.21.05.30.22; Mon, 21 Nov 2022 05:30:47 -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=GzgljPjC; 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 S230175AbiKUN3f (ORCPT + 99 others); Mon, 21 Nov 2022 08:29:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbiKUN3d (ORCPT ); Mon, 21 Nov 2022 08:29:33 -0500 Received: from mail-40135.protonmail.ch (mail-40135.protonmail.ch [185.70.40.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D52E99A5C5; Mon, 21 Nov 2022 05:29:31 -0800 (PST) Date: Mon, 21 Nov 2022 13:29:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669037370; x=1669296570; 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=GzgljPjCQtF3gi/mrG/UKRux549Rp30FZQjXG3mgUjJdTf8bkBXoDs/6xEMFBpsSd nWjYL0W7l1EV/RQmsHpDbz6lJsurKrIGB0tYXDfWQZcTPzBVTT4LSAhK/YoF+FDPSz S85gZUpPaQ58RrgEGYJUcLRswYsMrVl+Fpl3sgHN0uFM6I2q1FoBHTU5qOMv9CVf2A aimb4FlPaIlA1Mbt7a++ZrvPw4M88Cadsf7N82hnff0gDqVRh/5C/RM36BOve3itxX kq6Z4HXWjqwWAXYb6nqrkN9DxmfcK7rFqg3bYbBVoju1KEe/Z5/PmF0aHKZPqkeqly QU3EJvVACw2zg== 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 v3 2/5] dt-bindings: qcom: Document msm8916-gplus-fl8005a Message-ID: <20221121132807.206945-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121132139.206581-1-linmengbo0689@protonmail.com> References: <20221121132139.206581-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?1750112609710621051?= X-GMAIL-MSGID: =?utf-8?q?1750112609710621051?= 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 Mon Nov 21 13:29:46 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: 23740 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1587728wrr; Mon, 21 Nov 2022 05:31:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZSzeOpt6s5BzLgCbim0qfHQev5iZX36nAOu7QauWSgI4YEMI1NBoNOTTJ+dM3RKH9XNsq X-Received: by 2002:aa7:d2d5:0:b0:469:9951:ac3a with SMTP id k21-20020aa7d2d5000000b004699951ac3amr1769260edr.339.1669037465724; Mon, 21 Nov 2022 05:31:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669037465; cv=none; d=google.com; s=arc-20160816; b=QPnNhXbi5P6yAHXB7bprn6ZKS5BXjALz1CqSnRSqC+ngcj2+jmIRyJXsTlBPXnzkMN TdeIIh3BhbDvZEfXv4B/DJlUc2l7YmTKKcS4aiuvzZlkIZ5gSJqSLe0pQn82MHm1St1Z 0O1jHNyH8h/FXk4BFxQjabqZUDZ6PCJpwah/sR43mRjaxpZoE+YErVIXiM6qj4kvDXaz qqz97cKPQJMf5o8BBXSn8SB+IpYxfPqjyG8bi2LUiCgFC/BlaTl5QzhYXu6C6Xzlskh7 G+w/w117tSFIIsPfHG2xV9PU1cSdaGCgL/ZyS8LeJ1HzIvAclhmBgloxPZVY6/nQgfgu Qlow== 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=N7sAmAbP+TptEIQhG2TWqnIIMg3L2LT3ggreVAaUFbo=; b=D82cRkGFw50g4I3WB0fM5Eg8KplwN6Wn9+Z95kvYaQqOIaiA+hcHFGfIKp8yyT7Rtp poQstrc/TdrCXSLPzNgheAZFSDgnCza1p1gxhfEZNSjchIFr7L4kn5LqSfmDi1z6xAZQ lKhuVaLWob5LY8McTHziWgI+kW+8YqZPL16KuRhEQMQ79J3WE9nNl3MFfw3W3YS5jSVX Iu2LGuDfzq9KHSB5i3DHcSY9gKWbjRuWO65leZWyov9zAyyOOJfMfsZ6sCOmY4xUlL8t 1iCeY3xCz5ogfY+DYjdFiGNKdpuFgl5DezCcWmf934HBzt0XBtozp3s4GYCTOcax2SCj nv7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=uhBfK30j; 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 h7-20020a0564020e0700b00468d58b2535si4806484edh.445.2022.11.21.05.30.41; Mon, 21 Nov 2022 05:31:05 -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=uhBfK30j; 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 S230245AbiKUNaH (ORCPT + 99 others); Mon, 21 Nov 2022 08:30:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbiKUN35 (ORCPT ); Mon, 21 Nov 2022 08:29:57 -0500 Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63217C0510; Mon, 21 Nov 2022 05:29:50 -0800 (PST) Date: Mon, 21 Nov 2022 13:29:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669037388; x=1669296588; bh=N7sAmAbP+TptEIQhG2TWqnIIMg3L2LT3ggreVAaUFbo=; 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=uhBfK30j0h5O2b80SB4bROOzKT+2zY7QXuWBGFyOjnZ91dzddAPSRPnED2PeUsIGD tEZPobAUQrPQpqmqqB1rs+MQPhaGnfIeuTo6m15Kj/Gq3Mc7GKzCXR9V1tsO2jtgH/ +n2lXk6QzSHjwqldpcG4sQRansabdDnTatTEQt8gnjYIGJ8UfUN4E+bR9p8D1BM0EB KwtGDtF00LWG8HBaUlIf5rWcI5Pst8mDXGmrDqDgn+5mWGsUCLAq0JKZhzVkGWhMJa eNtuJQRS6AQ47qzm4q5W8ia3igIo15fVEkudU+cqz6ZxHGf8mOGrZPWC1C/NDaiHhy i/s/6omrL/Vjw== 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 v3 3/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add initial device tree Message-ID: <20221121132817.206999-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121132139.206581-1-linmengbo0689@protonmail.com> References: <20221121132139.206581-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=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?1750112532433295934?= X-GMAIL-MSGID: =?utf-8?q?1750112629541059754?= 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 --- .../boot/dts/qcom/msm8916-gplus-fl8005a.dts | 239 ++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts 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 Mon Nov 21 13:30: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: 23741 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1587872wrr; Mon, 21 Nov 2022 05:31:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf7aVJdQjFrFvEcCsSXpJNmWkf8c0+IRMGWsibnFw5fTwoE+fiiE7UtTICp471r1ZG0N4jQC X-Received: by 2002:a17:906:4bc4:b0:78d:6325:356 with SMTP id x4-20020a1709064bc400b0078d63250356mr15579200ejv.6.1669037478146; Mon, 21 Nov 2022 05:31:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669037478; cv=none; d=google.com; s=arc-20160816; b=L/pqA3auMMeitMrre1K9eYQJt2CXNQBc/vqxkCw2V7pjznMzh377mMC6vUiCIQA7v9 PUZEPUSgEZIwz7THAE/C4dhwm0NiN0bwh1Sv1e0NpxPpBx9v9fnlxqNFqfNCfBPoxNlp ul/4Oe68Em6hJqOAA6Z1rf2b6CrCQla1j+fQmusNO4v5kM+wHWhvCUzWqLdG3tY1tydE VVoWSYAQ0XA5MiAMxLJ0Hk65hqjv3PA464Aqv0XkfTTuEDrtzjWz2s6yN6sZIHI9aHpZ 7VAr9nj+6wLocjdtxlNF0XobBikk16zVl+6wQ3X6EgqLMvDlpsm3cSL5OJ7ZPQTInWyY WZnw== 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=pwOBX602Nhh3eHgQt2aQTVP46sIzF7xTsfkMmDNmxsrSUSUAFXsoZZKbuCUBubCAJ/ i7hut31/xR7H735X7ZJblqQAB7iyS26bHQ8gdRooaktBWo066tvczrmx04JV2L4SIyTt GTe2IZ19wE69g+Wn/9rv0V0ov9e5iOqwK9rS4Wyb6FAGRMhppAtfrJGSVS8sHx0ABMNq M8xruicP/UcULKGKhSporprF2Vf7X5Kj6PzQrK4GK8XKC0mzm5R3Zf9rwP8T5HGd7wBF A1sq3tC70oOIh+jjKLSvXre/rf+EDfTJ6svlLW5R/0B8uMYeUtw273nbqylznau1PN6o 2WpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b="M/Mv1UxJ"; 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 l18-20020a056402255200b00463d1e263b1si10197499edb.364.2022.11.21.05.30.53; Mon, 21 Nov 2022 05:31:18 -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="M/Mv1UxJ"; 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 S230310AbiKUNaU (ORCPT + 99 others); Mon, 21 Nov 2022 08:30:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230287AbiKUNaI (ORCPT ); Mon, 21 Nov 2022 08:30:08 -0500 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A24E4BF81F; Mon, 21 Nov 2022 05:30:07 -0800 (PST) Date: Mon, 21 Nov 2022 13:30:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669037406; x=1669296606; 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=M/Mv1UxJrvdP8jxxolAkSuhMvk7lGo0MZiu9L/+Rj57ZbWLFKRqoZ9vIl4Onpx4u2 bCS0slYpP/86VsHJvc+4rQOD4kB5jPoC0wZ2PXdtI353JCjRSzUvoPvoAbxAJKK56k 3561YjdjCcTwilgL6NPHiEy367NKN50NnGVqPOQHqLpQkueIG6BoVvvxcm/uNLQZ0J fuDTWSPryAZIp8LzHmRA65OFiB0t5p51T7yC3iLR6ifsyXrdmZz6dIpTxEWwf6I04t EXTRNXSEX6fNcrNYPRegDnhuQlLroaAZQkgrwy7mzb5j7Z0PokPD3exeF/ctpOhyAL 6wU0ohuRybX6w== 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 v3 4/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add touchscreen Message-ID: <20221121132828.207053-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121132139.206581-1-linmengbo0689@protonmail.com> References: <20221121132139.206581-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?1750112642551815872?= X-GMAIL-MSGID: =?utf-8?q?1750112642551815872?= 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 Mon Nov 21 13:30:08 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: 23743 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1588712wrr; Mon, 21 Nov 2022 05:32:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf72RFTHekor2Moxa/2KBKKxhuwSX+XYsVTmOJSyfjqT64snlWMcSlEYAqbnXghi7JO2Ei1b X-Received: by 2002:a50:d7de:0:b0:469:61de:adce with SMTP id m30-20020a50d7de000000b0046961deadcemr7497547edj.218.1669037567984; Mon, 21 Nov 2022 05:32:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669037567; cv=none; d=google.com; s=arc-20160816; b=RL/B7wcfNtrqrGwAU2UvxJgniMPujjT+r2DPcbQx3Ajp4KjYk8LV/O1BC72LHAx1LP 42tcArI4fl18l34OB8Pzut4EWshMe/y9EK/XtBP1b3PBgOmqypVNCD1BZbuQtn3wi7qZ zk9uIgEhRoxV1oSavOI6twsNZlG9cQn1thG7FIKNvLMql4c69fcfEnfl6FDC6ntWacwH wWrV9Do4JbfoWnGFFL6mrkvY7jczdNXIFr7MM0PZz1zbQfZEAhUvp00AfVHJqGy9/oqu FGLuTV8K4GAeiMBR/4otmX3XpTsFOkqFDoLrKPgm3WZ4VVrL7u/lu3EmnNxT6Ig8vLkR QlFg== 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=OJadXFlumeUAb7bHuuFtUwGUs+B9TqShZHnlPc6KAcoWMox6F4FL70g/iFRR+cOyoE saRuo32B8Y296+YBvf8asprKJ/j64GEHG0YO2lcFLX+Wg2LPZdYTmq7fdDaR4bHqvPZa v8/89BdkKaNm9gE/RnsGL+mhmBTWVYMXkRsXMcGvGMTTza45ywLwGWz2bkDmoEw3tA9H J5uwSFHtWh90ejsbc9z/evejPXomWgTeANDbzs5PDoyH+msFS2cYyNue+WimQkPibU3m hWIU0hXo5PSNRoglMfw5B8L4ETWcUm8HPi4Fw2NIy4H0ZdhdVI+zl3qYu2Xre7mcC+aD pckQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=uxKHFg5q; 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 dp17-20020a170906c15100b0078049ab4bbasi9413303ejc.526.2022.11.21.05.32.15; Mon, 21 Nov 2022 05:32:47 -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=uxKHFg5q; 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 S230127AbiKUNak (ORCPT + 99 others); Mon, 21 Nov 2022 08:30:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbiKUNaW (ORCPT ); Mon, 21 Nov 2022 08:30:22 -0500 Received: from mail-4319.protonmail.ch (mail-4319.protonmail.ch [185.70.43.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F49C9CF4D; Mon, 21 Nov 2022 05:30:21 -0800 (PST) Date: Mon, 21 Nov 2022 13:30:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669037419; x=1669296619; 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=uxKHFg5qink059OjMX5SBp5hgDzBD22x0sYk2ao+/WDipzCBmreMpMXqc3q/wJU9t LDU32gPDgQ/4ly/zd7aaiKZKBf24InB/nbig9XfOfbpAULpYEz0OcGHZZy+nfrKKdB lNY9VecwuawXJOPpv+9VGDqUPp1p6xPtDpXWyT0KS1RSL7K/7H/JHiANHc8ztFitEw 7zjeQLuKD06nKaiNKIO24dcZZkxiAI7CWIV8Br3Jy2AXEBiPkkZ5oLXCZN5JHOPG8E bkBRgBmzjxES8FrBYjNBkt0bo+FjXpY+99QY6BPn8sY+/chO8KuJYeva/BSpRudZBw WuHPwZJHVRXVA== 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 v3 5/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add flash LED Message-ID: <20221121132838.207107-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121132139.206581-1-linmengbo0689@protonmail.com> References: <20221121132139.206581-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?1750112736368520415?= X-GMAIL-MSGID: =?utf-8?q?1750112736368520415?= 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";