From patchwork Mon Oct 17 23:46:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3835 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1695513wrs; Mon, 17 Oct 2022 16:56:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4uBMJUoBkQDd/XI4KsgbzoRe1fw7HotmN5hZNU72Ec2jSyWvc1d60LTSpPkSgfz7GbqymK X-Received: by 2002:a17:906:da85:b0:741:40a7:d08d with SMTP id xh5-20020a170906da8500b0074140a7d08dmr168586ejb.263.1666051016737; Mon, 17 Oct 2022 16:56:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666051016; cv=none; d=google.com; s=arc-20160816; b=nCJHpnLie0zt1sbWkRuI9bQHZiDiuKTnEiVkSYurVcSa1Ss438GoK9LI4GIgyXPOde Ob2UO7rFVobbMTxGr7iwm0iOL2KEh72a73IWpjpQmwpXorrJcNM3yU5hLDCGx4aOMcfs gwKnr8kSmGduCG7NVs/8GUDD9B6iYPVdFaExENSVGZ6+l2FPhX8zJCnyT4H8ik2fzl2y p6sA/LujUwc80LsFTdKcF4KhB2G+W0I91idSV2nQm2GcJhQb+eH2zXPNOJNd6weToOH3 n3COc8rV73HGATyv2x9HHYF4mS2ri/PM9KoVqeH5KZ7G/n8wsJOMa2LTwyLLOnUnbsUf AAzg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=j1yHsuZ2vVjzQeapVPiUFGnm94rrZZEPN9KYsMhL7xI=; b=qFSSxtUfoMhXA/G2J+NYkJVaZ7NcIYm9lK/Dt8LUEF1c/Fcngb9f0mReKzSLV4CLGG pEK1FNM2JufHKGEUYohzzgP+sIoyTY9x6x8a77AeeJAgyCmJ2uE60hESPAvs6x6Z7zmT LyxAvr3PN/QUzPrOBKUwHxdAIkFy1ICkpHAmpQTLrjrJiKlAXTmfCReSOiYdD20gtwoT dwDNXHByvuipRfzepCS/bsf3vbUTyphMs9rqCf4GmFpnSmdNC4TNkRLpD24ufxZUXbMt RvyIFd/NAV1WI11uKSaQuKD1V+CJRmjCIn+E5Flb7Je6EQgbkbB5f4NCwvDzDJpHcCh2 GTfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cFoNiefj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn2-20020a17090794c200b0072b40bc7412si11205716ejc.223.2022.10.17.16.56.32; Mon, 17 Oct 2022 16:56:56 -0700 (PDT) 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=@linaro.org header.s=google header.b=cFoNiefj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231167AbiJQXrN (ORCPT + 99 others); Mon, 17 Oct 2022 19:47:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230281AbiJQXrH (ORCPT ); Mon, 17 Oct 2022 19:47:07 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F33F7C1DE for ; Mon, 17 Oct 2022 16:47:01 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id mg6so8364597qvb.10 for ; Mon, 17 Oct 2022 16:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j1yHsuZ2vVjzQeapVPiUFGnm94rrZZEPN9KYsMhL7xI=; b=cFoNiefj9VIxU0L2x0bX2weS9meVL7djOmLKT7dv8QpbzmpFw40raf/CtRS5HC7j3i IK6pK8cy0ZrFlx+AlkXlxZVCULA56EaGNpQkZONc5d0y1pXXLDhz01D2NboFB8hrnOlW Mf1p10mtTAoZFf8YnW47L5hIZWpPYGRFyMUSf0kfHOW2EAZliygzNwwpxVXxoIfdG7bU t5i9kN9AhkhtyGQyiIrdbC5nqX4ZGY7DKVKzxJBCfd+mWVbHqCh8GE0VzpugSBtw+PJ0 nFXoh7xuuVsqXbBIdFcUfQ4stAFaT6KVV9ICMoGRqENcfSDgKtli2k1ZdsHDhC0cPMsb yZUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j1yHsuZ2vVjzQeapVPiUFGnm94rrZZEPN9KYsMhL7xI=; b=EhCL6HGf/8oP+pqgVlT3ZSsl8/UvM3XeYGervq2n6tWgb4k8LfZZ2+MESx+Os2p4n1 oTUJP7utwf5+hGhS7ZkfiTBWpNzPULGZg+tE4j0lUIVz3uy8E6cIHvQLDZMagEZeNEWo 3+SB/2VYqMbD4SaxK7zGR3QtMGmO0URe7p3S3zkP2r8DUr+HLTqDubD/wdla3nxoKgYM xB7RsbG43zEy8DA2Y8nCUnZhvhsG9GpcOo2zXxNbfXXxbuRNB43DcqOQQKIjqlGdtb/v bsfnu/6lmHyRfV3BrYYehIGwpAG7Uao63BFWLJvuJJSf+tWf0ePintLlLOb/eFUM5it7 NkBg== X-Gm-Message-State: ACrzQf3FdS1cST13J8Z7i9bE0MMlgNrgaqdHPW755dFR7cQNypnmREk7 UxNMzt4WhAJRtaK2MRzdPcif7A== X-Received: by 2002:a05:6214:c42:b0:4b4:189:363d with SMTP id r2-20020a0562140c4200b004b40189363dmr86838qvj.25.1666050420273; Mon, 17 Oct 2022 16:47:00 -0700 (PDT) Received: from localhost.localdomain (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id r19-20020a05622a035300b00398313f286dsm858120qtw.40.2022.10.17.16.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:46:59 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v4 2/4] arm64: dts: qcom: msm8998-oneplus-cheeseburger: fix backlight pin function Date: Mon, 17 Oct 2022 19:46:51 -0400 Message-Id: <20221017234653.55506-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017234653.55506-1-krzysztof.kozlowski@linaro.org> References: <20221017234653.55506-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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?1746981110968790098?= X-GMAIL-MSGID: =?utf-8?q?1746981110968790098?= There is no "normal" function, so use "gpio" for backlight button pin configuration. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- Changes since v3: 1. Add Rb tag. Changes since v2: 1. None --- arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts b/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts index ef2a88a64d32..122f6c25220e 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts @@ -35,7 +35,7 @@ &pmi8998_gpio { button_backlight_default: button-backlight-state { pinconf { pins = "gpio5"; - function = "normal"; + function = "gpio"; bias-pull-down; qcom,drive-strength = ; };