From patchwork Sat Nov 19 20:27:22 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: 23313 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp857227wrr; Sat, 19 Nov 2022 12:30:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf5R9tZs2YqFz2jAcE0/3ZGNAAXPoLNdhsZdnh/PLWgyAR0e9paJPl6KqTzpLwmyGBAOrIUi X-Received: by 2002:a05:6402:180d:b0:469:58:b18b with SMTP id g13-20020a056402180d00b004690058b18bmr8180004edy.240.1668889853833; Sat, 19 Nov 2022 12:30:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668889853; cv=none; d=google.com; s=arc-20160816; b=Flic6CDkq+UO4Lpbpt5MMfmj0zFEPxxNFowA7fXSbgRimYHHgVoh1QluAvn8LvqLXp qZaGe+pFhJuW1VETVKeyrUXNx09jCU8Z0eJ93rmXC7z/dFLhs0CjfsOgtWVLikvRb2PI iPa0PsSbPsf9i9Hv00nsilRpziXozNvhj5uIvfNXimvxbMiauIwQpPrT2VB7KP21bA93 VqbCbROuEvaa3jDpmN6L6XnijLuczrtzHdZFbGjDUhejUVYrFpdYmTif26l06HauBNf2 1JhJI6l2zrmDqOhEK8345ibEmJ3GZIqo5BD7HTDU5AEb798VCRDrrR2RR6UrTVFkVlza A8hg== 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=67Cv/FauC3/ROtXr7R3r1RHfrn2CFgmEkwbkiRAF9BI=; b=zS0pp/UxHzxZ3msfk5p95thDkD0a7RtiDAGYLVS8ucjUPvuUbcgxp8Zr0EuRUV4jm3 oDYu0PCO40NF0XNk3Bo7F/17h5vgLaHHNzhF0xmc956Z9pU8toSqLLPQLcXvsvNupkDj HJn4vjLEoY9Det5hfPTQNjBcQQ1TQ//hhoEDKiyO5nLBR1MhpvWwyXGQXLbPDlU3mvHn jx+p5PtpKFOHvuACKp6/Ey3gCWvEBarq+t/hyqM9p3+kbQQ4QU9BYXchK3snNnuJCPGb rOevMkb/6z3aoZgZZXRvUF8cxRxHnw/+fXogSzoBO5qop3u5fG30ms3ehXCrbPrV1aQp 7rrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=vGmHagUV; 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 i21-20020a05640242d500b0045e00384e8asi5704660edc.380.2022.11.19.12.30.28; Sat, 19 Nov 2022 12:30:53 -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=vGmHagUV; 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 S234747AbiKSU1j (ORCPT + 99 others); Sat, 19 Nov 2022 15:27:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233670AbiKSU1h (ORCPT ); Sat, 19 Nov 2022 15:27:37 -0500 Received: from mail-40135.protonmail.ch (mail-40135.protonmail.ch [185.70.40.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0197711A25 for ; Sat, 19 Nov 2022 12:27:35 -0800 (PST) Date: Sat, 19 Nov 2022 20:27:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668889652; x=1669148852; bh=67Cv/FauC3/ROtXr7R3r1RHfrn2CFgmEkwbkiRAF9BI=; 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=vGmHagUVd/7hfvamvU35bvy9zKqfsaPJLaKFzUa1/e6OAB79sDYZn1u2HDza5ngAG AFzVkl2i0qGx8FHYmpPsokN6DBPqJgWP419WQ24tzrbr9P/EHN8B5HHQXcC92E7snD a1ylV6wbJpdhVWxI2E93fVlpAi56G83YUypaPGj2nyiRNbwGsUr/nyv+yXzSDYMmBd yawK7FgU0BsWWiulvA43eVpGCDVLHmp9b/d/drT3VeR9wqktJHFKNV43gKR+Pc3lWq N9C9xsH22XBZvbsAqZ1js9uzkb51MRYonEyKx5/YuNlSNd3QxNewv6jturjMPzhAmu vybOForiZ4SHw== 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 1/5] dt-bindings: vendor-prefixes: Add GPLUS Message-ID: <20221119202618.93451-1-linmengbo0689@protonmail.com> In-Reply-To: <20221119202316.93142-1-linmengbo0689@protonmail.com> References: <20221119202316.93142-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?1749957847394624524?= X-GMAIL-MSGID: =?utf-8?q?1749957847394624524?= 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 Sat Nov 19 20:27:49 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: 23311 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp856935wrr; Sat, 19 Nov 2022 12:29:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf50PHx22RfsS67jLpKSjGHn5AvHTcikAdBAaDVWQKT+/a6PuohyoZmLZF3UZs/7BKXThVGL X-Received: by 2002:a17:906:d7ae:b0:78d:9325:55b5 with SMTP id pk14-20020a170906d7ae00b0078d932555b5mr10396388ejb.618.1668889792944; Sat, 19 Nov 2022 12:29:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668889792; cv=none; d=google.com; s=arc-20160816; b=BSVSjciXda3SvIY7klzk2KFWhCuMwh9xAtOwqVMxgVpkZGt8LbIX3oFzbq7AZ/ylA2 LkDimR4J+ILU4zgwcPOe+8MdPJiaG/CRPbH2qy87zETO7P15uuPnaOXxKpwGDnYFWTeU RuF07OMXZsMexW95uXXidg8MZwcZkJAyki0So/r2VQMNKt/+SLKQc3V2+1v9GH3Mjbx+ sf1QHI628F+MR4p9WQDdqhybruyHk6w/hlMv6PVM8XQoVC0uNiA20EjcMyplATimlp/1 Z6RN09JVfH7D36F0q10fwUWcTJb/MeeWZ37PcmN2UxQ0xbOVtAQoMrB89o9gdTX0idGu xzSw== 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=2Yt7Phc5WaA3LcnEtcBrovWGjvE6aC7Nq8for3JJfDM=; b=rjizHmk/CCEgg+B62KFFbwLfpbUPYpVrRtsc6Cxp8GD2NgKejh147pQV8o65JZpDS7 rX1afpgCFPDoGgF7ze3dwymKd4M6JDNjpAOngp052ZG2ta6xJTnuDUaT6LkPsIpdLplT sN7TP4qcnJITPUnCGtvinhImbmzd3Xtii/YwjXc75JsO+pOn/KJm4kDtxthCZlpVi9kP u1h762y9TfNOLJLNtTUkHqZ6eA6jnnHH7rO8jBybQFdgSSG9V85Cwl6MX/X0tmPWF5CT /wIigJSdDiEBKM+2M0hqGF9wF6MPN6Bl/rQLE0PHyN619cKjyxl+FFN0m7849iXI8KPU nycQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=RrU6eZJV; 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 xh13-20020a170906da8d00b0078e2828052asi5487829ejb.638.2022.11.19.12.29.28; Sat, 19 Nov 2022 12:29:52 -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=RrU6eZJV; 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 S233606AbiKSU2O (ORCPT + 99 others); Sat, 19 Nov 2022 15:28:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234820AbiKSU1y (ORCPT ); Sat, 19 Nov 2022 15:27:54 -0500 Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93EE61A806 for ; Sat, 19 Nov 2022 12:27:53 -0800 (PST) Date: Sat, 19 Nov 2022 20:27:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668889671; x=1669148871; bh=2Yt7Phc5WaA3LcnEtcBrovWGjvE6aC7Nq8for3JJfDM=; 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=RrU6eZJVU+LakAVlVXz8To/ozyldvwAAts9Uw/sBEQa/MuRnV50NCUaacwMmANsuk GBLYjfZpEKz9802DO4H9/9TDAMLmByja8cOOvJhfnfIVCjGbNS4gnK6K+1rsnvqjUN ArDW6rY3krhKWWoZKg10dyHbpJDuS1q6gBUBFmAf7WfyWfBp6PbZDvx3kNH2okotAM OTJYJjvK+hIAXf80SXlZIjdwZdi8yGVGQsL8SsZgYbqW6KGCfWSejWX2Ud7GO7AHgz p5XhOK6uRb+HXKah+D045w4J11HyCjBR1ER9HM0QEB14h45enXPeu1bwaM96fmD7U+ 4E2hupOQrL1fw== 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 2/5] dt-bindings: qcom: Document bindings for new msm8916-gplus-fl8005a device Message-ID: <20221119202629.93505-1-linmengbo0689@protonmail.com> In-Reply-To: <20221119202316.93142-1-linmengbo0689@protonmail.com> References: <20221119202316.93142-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?1749957783584043597?= X-GMAIL-MSGID: =?utf-8?q?1749957783584043597?= Document the new gplus,fl8005a device tree bindings used in its device tree. Signed-off-by: Lin, Meng-Bo --- 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 Sat Nov 19 20:27:49 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: 23314 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp857416wrr; Sat, 19 Nov 2022 12:31:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf7OOZyXaOLTq2ZkDKWIv71litPVI64yleeLQOTnZAXk6xpOsBPMXB6UEz1m1H0UBJO5aWEj X-Received: by 2002:a05:6402:520a:b0:459:4c7b:e852 with SMTP id s10-20020a056402520a00b004594c7be852mr1002598edd.347.1668889896396; Sat, 19 Nov 2022 12:31:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668889896; cv=none; d=google.com; s=arc-20160816; b=nvWyHt8FiABy9ek55dEhk4qoLnXspAo9XTWp9n+JG6A7ZJI3ReBXuTXj9sGtTxIIix ndoGuEOQGj7LpmipyDRGQfCpxJKB1SMxil1M7lhXp0G8vU8NHgyR3XJDjb36JMLqoG+N MKQ7Ace/I1YVW9w/NMynassXfMzaMTOQYfNOmxFWok1OtOYAwkin0L5KFPKhjMLHWAhB p+Awf+0gU8AVg6dXCG0rKc3xAPFqtPCFYtX0AuSQwiteI3vy+G0A0Kqo51MmW9iUZfkH 5CkCEMESsFBH3PojC1Gt9tuoNtYaAxBun4tjktFMPch1qriCFMeT0ip5o68fhxMu4b9X Wy7g== 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=uR60VGFonjZ2PAlG5YE8jC3dYPRJhZgB4wAVz8J7utU=; b=pHF4iqfvsin+4iIxez8C4OhT71VhtwY8KqRSRA9YKHwonIr8L8ZgXWrbMYMRw37JD+ l8/eEQAT/jVHCI8WabNOgo9yb+DN0MjtCIHA1CaiQf4psudjDxH5rqDujfh8Q7HozI5V fax1SdWtUkqyZ/lJeZirT/G+KaN2Aa4gehMlcGsWluef85NtdIeRRHjfnwZvpt1zX9SB c5povzHAhXdqwJvanAeW2crT6XGCJlpCrbVHBbuB6LgdEYjwMSzRKZxjLRePAzWgP5+P ip/9GGgggOAAY47yFjByKe1segPZQF+Y4yXr4QebKxSPorGJ3z2Y/5MC/iEDqIhAFHsF eogw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=HFUaSs7Y; 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 ml21-20020a170906cc1500b0073d71124609si4171218ejb.182.2022.11.19.12.31.11; Sat, 19 Nov 2022 12:31:36 -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=HFUaSs7Y; 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 S234179AbiKSU2S (ORCPT + 99 others); Sat, 19 Nov 2022 15:28:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbiKSU2D (ORCPT ); Sat, 19 Nov 2022 15:28:03 -0500 Received: from mail-4324.protonmail.ch (mail-4324.protonmail.ch [185.70.43.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE6F111C3F; Sat, 19 Nov 2022 12:28:00 -0800 (PST) Date: Sat, 19 Nov 2022 20:27:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668889679; x=1669148879; bh=uR60VGFonjZ2PAlG5YE8jC3dYPRJhZgB4wAVz8J7utU=; 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=HFUaSs7YsyvgLT59EYnRbr4ooh3L6TlIUm9mHUXl6jA9rsWzPrLtIcLino9ZE68Dg zK2Osi8lJVl52DK9lma/Qu92p97rY0D2296KilPJQaD/F5P4DABZXihvCZloHJagOc jy2YPT7Pj/6/3AbhM37x/K9m75CkuYw55m9QqFZ3vvJZfFkrndTKIv9dwkMAnaGNGk afqWnuLgFCz2kcX3ZLV0n1+JlvpXIlxp1tWAtF0F1NjWlsbPEgtxAQcXPMiJw1WzzG G27RapfTlpIKjFAvf2ZTh8B4z642x9NSNw8fExb3WbUUCks0lUFETI+pRqQHCsU0KU hvgvd72wZY+mw== 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 3/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add initial device tree Message-ID: <20221119202639.93559-1-linmengbo0689@protonmail.com> In-Reply-To: <20221119202316.93142-1-linmengbo0689@protonmail.com> References: <20221119202316.93142-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?1749957738236309290?= X-GMAIL-MSGID: =?utf-8?q?1749957891685148161?= 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..bed1fe984287 --- /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 { + status = "okay"; + linux,code = ; +}; + +&pm8916_vib { + status = "okay"; +}; + +&pronto { + status = "okay"; +}; + +&sdhc_1 { + status = "okay"; + + 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>; +}; + +&sdhc_2 { + status = "okay"; + + 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>; +}; + +&usb { + status = "okay"; + extcon = <&usb_id>, <&usb_id>; +}; + +&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-allow-set-load; + regulator-system-load = <200000>; + }; + + 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 Sat Nov 19 20:27:59 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: 23312 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp857010wrr; Sat, 19 Nov 2022 12:30:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf7xY1zWg2qoDuM894NTgroqHnvNti41oMWT34JwxN4xezkwUTMEOBvz1pu9JBH3r78nkGuJ X-Received: by 2002:a17:906:3a09:b0:78d:6655:d12e with SMTP id z9-20020a1709063a0900b0078d6655d12emr10454946eje.260.1668889806045; Sat, 19 Nov 2022 12:30:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668889806; cv=none; d=google.com; s=arc-20160816; b=UgCdFiK/DW2CdsmnYNfkDWAaFcZos4K4bCOt5vwobPYr8cDGkizk4EaCxGuUS6BHxa 1WCeYk4P8V747cwzK1gSo66MBxF+smCQdPaurbAkSOKEgQ8HMCJlrUHAVAIxo20ARcWr b6erzA2XK5uFKoXDUJGVSSSFE82xAFnfvC6DHE3mU9JZUHTao/CxX+WS7n7ZyIZ2273W O45RDfHGnDBuj5WxwtpCHaAx5Cq+kROO0qhs5U4Auqh8rcUii0PxI4/lWg/8KtI/7HDM be67n1cTRiDBVAeXSqYiJ1I2d1VWMqI1PyeaBLQtWMVfaLUG25t4e9SnqiJfevgOS6Xn ucjg== 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=v0KmbPR3PfBW4/Zhi3DR1i6itkdlJYgYRsbDeUPdxGM=; b=r62HlhlPXrD/p08BmU0JDZ9DckEiEu07B5Xpg869KA5jcMWmAgyxjMCgpNbCSmbIFg VO0UlvKT87L0TE4WDacHEmRMF5j7okZJuA7uhEr5/1shDwNiouk0X/KK6OS3RisEC7So NGtkJYYzq3ekf5GbCYoznA7YnbnA8nczCjhE9qcg5NlZi6r+92DsBR9Kcf2F1XelEUhM peqcy8gf8PLYkUTE8PTy3LawPNCIKsok5stepmSz3QeKo0F0tpA5q2MAH+5gSJqA0FPx kDum8SuWE+t8pqgIHRS0oPVZSQSgJvNYZRJgm5HT1dvPZ60xVBw+WNqm8MCawk6J/9qQ z1KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=dIFoNkdV; 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 cw7-20020a170906478700b007ae8b1704b9si6707743ejc.406.2022.11.19.12.29.40; Sat, 19 Nov 2022 12:30:06 -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=dIFoNkdV; 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 S234291AbiKSU2X (ORCPT + 99 others); Sat, 19 Nov 2022 15:28:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234146AbiKSU2H (ORCPT ); Sat, 19 Nov 2022 15:28:07 -0500 Received: from mail-4319.protonmail.ch (mail-4319.protonmail.ch [185.70.43.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35FBE1A398; Sat, 19 Nov 2022 12:28:05 -0800 (PST) Date: Sat, 19 Nov 2022 20:27:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668889684; x=1669148884; bh=v0KmbPR3PfBW4/Zhi3DR1i6itkdlJYgYRsbDeUPdxGM=; 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=dIFoNkdVjKH06DklH2uqB8fKkjHAoz7S/LUrJ9Ts45Fc5uwBU40I+NvMGkaap9aEI 4NYcW6rA3xJobWbJAYHxsxkeMJLnlZtXAeZKrCBZsf4ibmsTCs7KRk4b6wxGV/x7od YBm86M3BRdcJK4hm/HPbRZPjc7oZiY6JvZSvjwvqA96MhqSvoO9xowpKeRs73X+8Af 72qJKxfC50S6BVEA4msUH9OWdUXB93MpoiLYv60DZhMV4eH6PUGM1xYiuRwaDaBDvZ 62W0tmVbORXlyulAT5LdpGfdaVG06foRd4yxJ01lhWYz7MXuYO2xQyQGQZY883Gzo6 BjM+azRcGd73Q== 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 4/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add touchscreen Message-ID: <20221119202649.93613-1-linmengbo0689@protonmail.com> In-Reply-To: <20221119202316.93142-1-linmengbo0689@protonmail.com> References: <20221119202316.93142-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?1749957797544266116?= X-GMAIL-MSGID: =?utf-8?q?1749957797544266116?= 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 bed1fe984287..cc81880f7c42 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 { + touchscreen-pins { + pins = "gpio13"; + function = "gpio"; + + drive-strength = <2>; + bias-pull-up; + }; + + reset-pins { + pins = "gpio12"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + }; + usb_id_default: usb-id-default-state { pins = "gpio110"; function = "gpio"; From patchwork Sat Nov 19 20:28: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: 23315 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp857496wrr; Sat, 19 Nov 2022 12:31:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf7PvpQwEEfAjnbsECdbI47noXJ4G3mXzVzcMLP3QnjgesNtOu54NuEILHIs2VPW2llyBHeU X-Received: by 2002:a17:907:986c:b0:7a0:b505:e8f9 with SMTP id ko12-20020a170907986c00b007a0b505e8f9mr10204943ejc.216.1668889912240; Sat, 19 Nov 2022 12:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668889912; cv=none; d=google.com; s=arc-20160816; b=GrGcI72DyBUWJDTsMxa2/VB8Nqw2LRZQWLF3jAFQOM+5fwB2Kvt6RodDRVMa99TOn2 ORiSN3kkRH0fHWksJTZ5w8Tjcr+cxD5ujVuFs21JslwOlD3IuB7suzJkXiJFUM7aunwL SSa3JyUN+kmxCqkxcZwv1OPMYv1bdn+5XhKOjJDT2OGXVz1pD9wkIBaNuq8LvBHfagNI h3lxjC2LIoYVUzdeGeYsc6Szr/rg0re+tCl27UB5zNETRuxGvv3pcvqJ3JTsDd/HWFYx dSs7k6rsm9UZ9GJWFFTM1+8OtQBR1zZ1yq3ovdyNIB157qcSzQVplDLDs24xLpdZ6QkZ ccOA== 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=Cr7EUz5Vqud7rH2savtbBMVEUMdI5xkdlff6aAmnq5E=; b=Jp5SvukqRZU1fVXt3Abyf6BRAugbLRLmlQrwEKYAO9NVV2t4hF/aMX93F+pRI9Jccr alzeHDEo2RnvIKPI8pW9vekBcd5vb7hdIn49Y8DNdIcC05uXJXPdifzU97Fmhk1W2byE ImqNSz2i/+CADcdd/WdP6o/hYE7Le5k7+zhKf7Shb95br5hY4Dc08t4AA19QGMCVenQO PuxVnsNWgTWi5y63q3P7RzgqBGnzw/x5P49Fsz3s1NgdzCLOgHjN42sxS6g4bCSXys9a SP/5RxwaDC+6e8g23nft8aifBXlEi6RAw1BW0Pl3zOhvLC4AZBj2LoDkoLA9r8Cmuu9t DrXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=HfroQORC; 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 qa31-20020a170907869f00b007aaf5a45f5asi5836856ejc.47.2022.11.19.12.31.28; Sat, 19 Nov 2022 12:31:52 -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=HfroQORC; 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 S235103AbiKSU2o (ORCPT + 99 others); Sat, 19 Nov 2022 15:28:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234139AbiKSU2h (ORCPT ); Sat, 19 Nov 2022 15:28:37 -0500 Received: from mail-40138.protonmail.ch (mail-40138.protonmail.ch [185.70.40.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF898B1F6 for ; Sat, 19 Nov 2022 12:28:28 -0800 (PST) Date: Sat, 19 Nov 2022 20:28:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668889706; x=1669148906; bh=Cr7EUz5Vqud7rH2savtbBMVEUMdI5xkdlff6aAmnq5E=; 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=HfroQORC2rhpNrBg9lVP+MZq9Wn5C92HtiuAnXNDF0srgRDhu4Y4yYvJvHALGIAeh Ry3FLToh+ezSfkRLLh/oG4JNYrWDUTEzsz46J6iiGVzcTVd/60ySKYGHLgOINSQ9XA ADNijN/aqwZj8g/sSGksqsgpIq4R6D12qpE7FVUcH07TlrujbL4FH29jre4bqndwtf cofs3QP00i8DPdm3xYzlYOymYyYTM4Wy8bFTtjz4f+OstnE4w/L7qk0My+t0KJLpIa c0CIXUCvYF/IlwHjfYjUN1pVz9UT+2SQtHO857OKq5Uw21VghABPa52cAHJgmcuH79 DWyjNhaqS0NuA== 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 5/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add flash LED Message-ID: <20221119202659.93667-1-linmengbo0689@protonmail.com> In-Reply-To: <20221119202316.93142-1-linmengbo0689@protonmail.com> References: <20221119202316.93142-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?1749957908411487925?= X-GMAIL-MSGID: =?utf-8?q?1749957908411487925?= 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 cc81880f7c42..131e12ae510e 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";