From patchwork Mon Nov 21 00:52:28 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: 23502 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1329528wrr; Sun, 20 Nov 2022 16:56:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4EjLqW8F/c6i38QIqRWINHMF7rmp+FbxRk3a/RBVooxU96hN4QsX5FIA7+byGU+bpcKWJ9 X-Received: by 2002:a17:90a:8a82:b0:210:7cd5:db0e with SMTP id x2-20020a17090a8a8200b002107cd5db0emr18831216pjn.30.1668992196161; Sun, 20 Nov 2022 16:56:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668992196; cv=none; d=google.com; s=arc-20160816; b=rSUic/vv2YqWmCewcoxfiP0YDPX8ChUstQsyh1SDRm9VmsTd/PJcqiMgizZ4xyFtd6 hyWzzcIm2MLqi1/MAxWTbGkGoAp2cIfqPMs6O2/2YJLjGP/0Yne6NEaGzWANYvua84MN ec/a3vOKYlFhFb5iNm7VnAKirWPQIV22Xd1SoHItRR3dPUeBx5czbpjCBUgpDnXo+bxB ZD79KKfWe0y821CgzmQc0//R4aWmxWYhVxxnkE/FUy7LAJOlQ6U2/kSbwVwy8//u7VUA WcPBkdAa+Ski1gRikiV24TzQ08XIPWm4Yo+khegdS4yG3KrDaGwodzV84cg/4AVt3lYQ fG7g== 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=woPWXCpHEeTVTlhGNg7qjYWGH3d620TQLbIsFTVcbpIoQ2SBaq0UuV4HUFz92e4RFd C2y0tbredrFaAIdO5dCebyd9rm6AheR1kn1QFQk8Dv0FKeBABPNI3DU9QWlX+de3gK/p fWY2aiBrjeWIxPvNPoeXHozcuSFJO+iGXjHVWQygiGDYVBNPj82zdLE1Im/te3XVYsZN ORNB1VzTpKLISgp7X9m56lBLqd9xj63Lfz1wPkgIzVEnjGeLLHx/p3vthIeT4ZzLpp/M fUr+EwDj6a5d3JZy0lEACW6rZz9GwdHDOj+0GrfmkLRJ3HrZrsnVji+oW72mELAl5D0F 9hyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=p4nsKoWI; 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 x15-20020a170902ec8f00b0018890a7e9b5si11109687plg.287.2022.11.20.16.56.21; Sun, 20 Nov 2022 16:56: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=p4nsKoWI; 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 S229915AbiKUAww (ORCPT + 99 others); Sun, 20 Nov 2022 19:52:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229896AbiKUAwq (ORCPT ); Sun, 20 Nov 2022 19:52:46 -0500 Received: from mail-4319.protonmail.ch (mail-4319.protonmail.ch [185.70.43.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E3D315A27; Sun, 20 Nov 2022 16:52:39 -0800 (PST) Date: Mon, 21 Nov 2022 00:52:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668991956; x=1669251156; 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=p4nsKoWIxBLFfG6lNMQjn5mwijVJ3G3vfjyqJp+/tuy1WYtLFVr5A3gwDWHpHkJpQ EoYjG3aEzkYPxiD9TekmuQ3axGbbucVfoOfOPIJIVs7ZPuuAoAAXNdOsBoWU6gQzPc Ys/PXd+JkuljxbeHxZngVwywpjO/S0zZyHdQrWlRagWXasD4WtjVdtFZ/qc5+Yrois wyKMkm6ifNPJRlHn1tGh1mmuZc0RJrQEVWD0SO9VfGlwA8zSYtjVfP2EI3VQ0J0uPb M9+GZDu4mRKVv9Ms8vdFKB9PhvOLOLW0ayncXv7UN7ZIsR6cFVf7Gm9xy3Xp0TadZw YltJbqtLqSkCA== 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 v2 1/5] dt-bindings: vendor-prefixes: Add GPLUS Message-ID: <20221121005118.4191-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121004813.3883-1-linmengbo0689@protonmail.com> References: <20221121004813.3883-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?1750065161338420188?= X-GMAIL-MSGID: =?utf-8?q?1750065161338420188?= 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 00:52:41 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: 23503 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1329549wrr; Sun, 20 Nov 2022 16:56:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Eo0oQorWvoYO7YNr5gQJTRcUotITmB/XO7lZBE5EjgPQ+BJcCWRVeK6LWI085GBKge+8o X-Received: by 2002:a05:6a00:1515:b0:56b:abf4:f77c with SMTP id q21-20020a056a00151500b0056babf4f77cmr17992195pfu.37.1668992204039; Sun, 20 Nov 2022 16:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668992204; cv=none; d=google.com; s=arc-20160816; b=Dn9m6GGfzeD14fJNAf887/OUB49lU9LVIfNT39tUFB281PqLrRefg5lAoAhRqCrO4d OLs7yjIyDMTmlT9uYhKoKxbG203DvOFEWYbURN9cbNPFNLI0N8KETDulV3FLjGu9XeT8 Gjf600CGdRLHo8EblWp3OHJhJ0+9Cm9lkaXhDg0SsG26QAS35o8jc6fSTiTl44JEoVbU 5CNU0vXN3BRhqzo5qmb9bmymj8y428m72oa+APCKu+4/4U5tQdqjCPXpLCxaj9feAZQp Gx6MNItngGhZjAfNG/WO8QNkDilcVZ5lXhRKDnx74NOtkZYbJcYC9fwVch5ZsslZHuH+ D8EA== 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=E52DZiQj1kFnxVnp/NVz5dpLiNxeaTa69AFBvRX4ha3LKGrLth7FIZ4i5fRbe5i1mx /scAhkUbo1DynhNMMNgxWpaAgoqWDEpNj6omg5cFW01ZRVpJxlXCBe0KsIrO+qXSqWTi B5dV7LOy6ZlPqPYd2PKUvWbsmz6hsTkOqAnXyEIqI33XiVf2WCMN2jbqik4+ktp1eJRF sXLxosqPeKkUiFarojFFbbBGBtW4A3l0PuQvTpwos/4TLIGlLIzFLXrbBsxl6pSzC8xP mvKeIsTuCWnDqu34jPNn31cLhjXJyCZcWq8a7oLdndabeeTet/v6YkWETZhqQ/pqdiFj XgmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=NlxSVT17; 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 s124-20020a632c82000000b00476f67b6558si3044018pgs.40.2022.11.20.16.56.30; Sun, 20 Nov 2022 16:56: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=NlxSVT17; 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 S229923AbiKUAwy (ORCPT + 99 others); Sun, 20 Nov 2022 19:52:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbiKUAws (ORCPT ); Sun, 20 Nov 2022 19:52:48 -0500 Received: from mail-4027.protonmail.ch (mail-4027.protonmail.ch [185.70.40.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4A8D1144C for ; Sun, 20 Nov 2022 16:52:47 -0800 (PST) Date: Mon, 21 Nov 2022 00:52:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668991965; x=1669251165; 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=NlxSVT17CFbqUCbtDe0TUA/IWwkSyFmTRn8aztuwnIbpmA3ZDcMl2dKx1XZQN0WCU +EYfAyV6jxVds37gDUxDd9y8lpIsN+L3mHH2fSttvsXc5f/tNVfbRsD17/bL+3ACSj 1lRPByu2VE5nRKyH1ggNaoJBGG0W/dNHAhVcCWMoFjfAJUdv92BIADNJ3OdB4Z3DUB XAfBv7x5DC6IOb8DrPtrbgNdv+pFpoUlibcsUumCOm3E+aFbZkTI7z4T/oC2RM5+F0 VCJWwYyxAAYbqLjZvHy2OLBz43kD19aF3tkqXqcTfNXK0VQ1eq0D/adAU5GPmKAHxy TAZ7vKJG/I0UA== 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 v2 2/5] dt-bindings: qcom: Document msm8916-gplus-fl8005a Message-ID: <20221121005128.4245-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121004813.3883-1-linmengbo0689@protonmail.com> References: <20221121004813.3883-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?1750065169098414117?= X-GMAIL-MSGID: =?utf-8?q?1750065169098414117?= 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 00:52: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: 23504 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1329713wrr; Sun, 20 Nov 2022 16:57:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf7hTo+ulo91sY++c9Kl+OS9WfAc3GVafzpKPckSMSQzzJQWf42WknBCHWIo/X7moCiSIHZW X-Received: by 2002:a63:1e23:0:b0:477:6fe2:29ec with SMTP id e35-20020a631e23000000b004776fe229ecmr177884pge.522.1668992258282; Sun, 20 Nov 2022 16:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668992258; cv=none; d=google.com; s=arc-20160816; b=IMoOjQ18kM188GBfwPr6gTNqxMoHwUs+AJedhKIsUbljyJxcnf289jrkpqxgf0b2j0 3Qg2jZ+mTKgI/btnr52tkSvchxtqbwklWm1vciaKHcFrg63KCIX3QBIgYIjC740vQUJc fMEKI0KeJDkJ14Q0pYDO1cxdpVJEe+3DFUX/9HRd2QimQCwOOVwGaNgmTZ77BCcBsQui jMxa0nlJ3vi8NvWOfvQU+paRqBOQVOHU0SuX4oL+gC4N1w8LIaKIgIyiBFudZ7/2W3E+ Y/9iEJesQKSXFLqLp7qYSzX7VEtscJ8Ti18ke6Ku5DTQv1XxTQjRANtirZ22/e7iGlsQ fCag== 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=45C4sqUw8yZDaZpXlJrEEFqiCc9wGftBsd+2liBdOjQ=; b=ncN1vC93EQ2PJum7XT6N1Ra/vRnko6Dmg9cHtYbL4DjTJLs7Xw7STOQyiMNWR5YfoA akkKU04yMrs+U2rMq9KvgSIOGLSq7OYYsXGDEp0VRSkToxmgX9vsqKnD1nk0sYFNWzRr txSYgPVJwvKzkdVMrMZ3koHBhIn7IbuPeyPjdkR6zJvOUjED+R9HKi5i2G7Ms3wQSEsX NizwYMLgAQJI4Z+rSK67rQQeLNDHuR9pBRpnsX5SrPY1nBFISrok2i+JhMu4NyBCilp3 KnuGvKwpobGlF13lU/ACp+p02w/bpRuPvhGnaLZwDDhjIRxjaUKHQX5yVizK6439GBMm sOOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=sH6l1jTf; 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 m12-20020a656a0c000000b00476f5ad5027si10074657pgu.114.2022.11.20.16.57.24; Sun, 20 Nov 2022 16:57:38 -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=sH6l1jTf; 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 S229952AbiKUAw5 (ORCPT + 99 others); Sun, 20 Nov 2022 19:52:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbiKUAwz (ORCPT ); Sun, 20 Nov 2022 19:52:55 -0500 Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CEAE6434; Sun, 20 Nov 2022 16:52:54 -0800 (PST) Date: Mon, 21 Nov 2022 00:52:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668991972; x=1669251172; bh=45C4sqUw8yZDaZpXlJrEEFqiCc9wGftBsd+2liBdOjQ=; 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=sH6l1jTfgaYxaMkI/PFBAcxBBdkgy/sVS5X2MWmVxrbGPyeWFRU0ORQHtiqmL9yCi Yez2KhlC8TNaKjv6xefpGkRH84Rlx68KbEd+SmbK+jEEwSjSgK9VFsYC5/Kv1g7pwG uYOeJxyggguna3l564Xd8kUtRAYTWH2mhq/atNDQTZMCr7iBdG1xfXhnJGh0AurJC3 lcchcKHJTavmbuGy/5Faq6QTH6/GRKVcsFnlja/Fvdv66tf+sFAppJ1l+EicxmUbl0 XAe0zTxxz4HLfmYuPb7IeOrY78boyp1y9kh642NahlbiCjI74rbRItn8AhL7wm7Twz xV+9Eht+0Hd7A== 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 v2 3/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add initial device tree Message-ID: <20221121005139.4299-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121004813.3883-1-linmengbo0689@protonmail.com> References: <20221121004813.3883-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?1750065112362587246?= X-GMAIL-MSGID: =?utf-8?q?1750065226311423391?= 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..33eebb4afb0c --- /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-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 Mon Nov 21 00:52:57 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: 23505 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1329919wrr; Sun, 20 Nov 2022 16:58:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6bpvYN6kxA4cpRUEDUChLInxpTsaqE+cxbpCikHbJQz7KBgehgCnBrZAt4FD3NhNJA2GPN X-Received: by 2002:a63:4046:0:b0:46f:932:453f with SMTP id n67-20020a634046000000b0046f0932453fmr15732330pga.405.1668992326714; Sun, 20 Nov 2022 16:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668992326; cv=none; d=google.com; s=arc-20160816; b=XLWtZrnckhctP9mkFIsBQV7mMnJvL156QgytahqY/uqSj43zbGOTnXN2BLDxVZC4Ev YLaMmPhDiKifpLQFVhY4iKVXLLvjbsyVXtwphiFPBtogZnkhVrgDKA4wd/SvE3RXn4yo HXA6R6Vm3Y0uzfmu7BZjQs7acAzIPI/EbXd6LmFfCRspYDGxe0/t4xNmBUcDUCFp6tuR 7yXDmZUY5DWQdRTxVM+ijVS+gjDGQBiGVdwj6Nv6aV+PAS/5smgZr7RvHj8z/cMzuJ/Z hqH8fmY9og4Wb46SbfA0i1gKp7t+ESn6oOF4v2TLj/eSZrignjYAN2/KU3rMT/qRIYti fgsA== 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=W6cO1ZHWVplFHoOilh3Dcc/XiGsi4jHeuBl0XvZfPTA=; b=giYMFjY5l2mdnHzmrbBXqW1Jh60z7HqswFCpNDbpk52ZxPkkuW0odmHXM4lnAki+Oo N2s8lxrBj26zL9A7AK/e6x4iKIUBoF5jIsJgbQdpGoXPBRcFmE5nh9VQ7zJYzqSwrLge ITNqOeW55D0muG4ZXtLWAh3O0ADFCgSXLGAgm60YucQ5lzEi5YLNt7YhSsRfA+OuD0GP W6WpFroG7ApGS3KIfSyLgyYIVzLmCaUjf7agnIxiGKQNDXIfp9aD1PjdKRSZjib4v8qg 14iCnrD/Y0KkQez8QGntgJmNKgkTCFj1H9cBWkJFdaHaRywEODJff1JVjqlTi8fWj9no C96Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=aaYIBiCN; 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 m12-20020a656a0c000000b00476f5ad5027si10074657pgu.114.2022.11.20.16.58.33; Sun, 20 Nov 2022 16:58:46 -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=aaYIBiCN; 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 S229975AbiKUAxJ (ORCPT + 99 others); Sun, 20 Nov 2022 19:53:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbiKUAxH (ORCPT ); Sun, 20 Nov 2022 19:53:07 -0500 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F8676434 for ; Sun, 20 Nov 2022 16:53:07 -0800 (PST) Date: Mon, 21 Nov 2022 00:52:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668991985; x=1669251185; bh=W6cO1ZHWVplFHoOilh3Dcc/XiGsi4jHeuBl0XvZfPTA=; 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=aaYIBiCNC8iel/ScqMqSrKTAN0W7C2vvD+jeMJAK1HE2IKBKkJjMkDzhqBmN44VqQ nWzJaXzkdlI1f5XSS+VhiSV7d656T0kCXG4hpFe0QOjlFZkWOdtRg+1yG6Hr+CcZlw m71meUwbQZwRv3oUP6QWTJsQFJmJ4wAkPFdWTaiBouUUu1yJH8MFqG96rjJExsvsHP QoVGlKjA0Fi1XrVSbf06b/SdxUbingCVu8jHyy6qQORtn/+Tvq8knHD3Kw/7MHYDkn QyuG1ZWKMlqvBNKGZRvanE7bws+C/gJDZXJp4rNrCfBUh6mIfTiSLJ6kAnGjt6o2/u Q/yxqkRfLwXGw== 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 v2 4/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add touchscreen Message-ID: <20221121005150.4353-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121004813.3883-1-linmengbo0689@protonmail.com> References: <20221121004813.3883-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?1750065298140447224?= X-GMAIL-MSGID: =?utf-8?q?1750065298140447224?= FL8005A uses a Focaltech FT5402 touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Lin, Meng-Bo --- .../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 33eebb4afb0c..73597f1883aa 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 Mon Nov 21 00:53:07 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: 23506 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1329994wrr; Sun, 20 Nov 2022 16:59:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf6OKj6ccuq572ay/w6iJJJeQLFeSw1+k0zApmykK5F3qA0PfHziU1W7tw9IoofUtrLkerHe X-Received: by 2002:a17:906:b11:b0:7ae:50c6:453a with SMTP id u17-20020a1709060b1100b007ae50c6453amr13423012ejg.596.1668992346122; Sun, 20 Nov 2022 16:59:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668992346; cv=none; d=google.com; s=arc-20160816; b=0b3FzNgPGifvVFCt+QUfEnL2V8TVrzWRCuyFMTAaFTM8q+lZgsINg0ql2NYR64lfTi LaU4TL2fZdcNgrwO0SreZeFjOp1a4Gp1epVw7topNzeXDxgfKVF+84gVZIF0GGt5S45h 5owIhSxqfNnO8h2/apOwOXS+egIbBMiLGWzaA5LvpjCIC1AffzGcIg3Rzgk3rhRTxLmM KTTQAIgD5yVV2+TsGJfTKI31LBq7ICeEHNsir6iLSZ+23a/yxSco5fMU9ezxOIe4AE2C Jp1Q32srCn9Mp/nRso2+Aj66CBLUTrIxkLSAiZPZPLC2Jtx4E7IlUcPb3e7SY80kMoSa HjTg== 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=rvgqD3kMhIWmN1uoL7kkpUV34ll+GvDevC8V4e/ofec=; b=MqVc5fW/8vWcQb3ZV18ilfQ5idfCeSgoKjHzwJUId0NNCv4XgI1A1LNFwZ+yy1hQaN axlRuKAq4LlXRr3ZhRHSicy3lNtV9lZ5SZ84nB36Ausvisc2c+cYBu+v9i7zj/zqogYp OSAXrRFvQVvk4u3MNi3xQBGm/4OJDJYq6CWWHNCZw3TDfPRSQ0jp5zwft5ltr/4E+3Jr S5wxm4d4gi5FOkn9mF5BtRT5/i+5QTKAWitUaOZmoM9H+ZoFgE7/Ip9CrKR230dOoLb0 K1F0uqleKI79SZbi/w2lkNhm/iLSBlcQVRR0MHuNbaTp/6Lyy4t4wycgIdTcDJ80UCz8 ndPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=sCcoLWQM; 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 sz15-20020a1709078b0f00b0077951929340si7424234ejc.271.2022.11.20.16.58.42; Sun, 20 Nov 2022 16:59: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=sCcoLWQM; 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 S230000AbiKUAxT (ORCPT + 99 others); Sun, 20 Nov 2022 19:53:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbiKUAxP (ORCPT ); Sun, 20 Nov 2022 19:53:15 -0500 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CC0A15A27; Sun, 20 Nov 2022 16:53:13 -0800 (PST) Date: Mon, 21 Nov 2022 00:53:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668991992; x=1669251192; bh=rvgqD3kMhIWmN1uoL7kkpUV34ll+GvDevC8V4e/ofec=; 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=sCcoLWQM3EIAdUJxF6zz8wZEf8U79hqNmtyXgl7QI5kUKXmihQlokkgW6U7pCxTjS EQY+PmUPo4uD5LH1nAnVuh0BgR5R+u3A7H/Dzem4eF2YiQ8PbJot40XpqLES6Cr2lU R3BVneoW4kytwzLXkZI1AxV5y/74/Ygfe+kHNb1pLJuOY3x5Uu6x8HR4Ojpypu5ai/ Asa27fNqTkIBG/PsasMd2Wv2tOOrqTd/Pl8T17FZpETC9IpYTNC01Pu24tbxk9tCad 7G8sOCAaIut9W0H2jsOag2d69EiYphUrNJnQMN/cWjgO6Qd5TZIHOGpQiUPL92d5cG lzLZgARP+ntMw== 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 v2 5/5] arm64: dts: qcom: msm8916-gplus-fl8005a: Add flash LED Message-ID: <20221121005200.4407-1-linmengbo0689@protonmail.com> In-Reply-To: <20221121004813.3883-1-linmengbo0689@protonmail.com> References: <20221121004813.3883-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?1750065317939787819?= X-GMAIL-MSGID: =?utf-8?q?1750065317939787819?= FL8005A uses SGM3140 Flash LED driver. Add it to the device tree. Signed-off-by: Lin, Meng-Bo --- .../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 73597f1883aa..bd021802cca6 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";