From patchwork Wed Feb 1 15:43:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649372 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2529C636CD for ; Wed, 1 Feb 2023 15:43:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232200AbjBAPnc (ORCPT ); Wed, 1 Feb 2023 10:43:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232229AbjBAPna (ORCPT ); Wed, 1 Feb 2023 10:43:30 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 939FA721D8 for ; Wed, 1 Feb 2023 07:43:27 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id m14so17250338wrg.13 for ; Wed, 01 Feb 2023 07:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kPa7H1up+Az85ZjO9SEc8vDajv1jrdObTnlN/HBB+Nw=; b=MJhfVU0j1TG9YBPOl/Wh8uSACPotq/MWa+rfiZFrKYoyoQasmFtLYl5r4zqphi6Obz QQ0t28oJo+3aQ9DfEk0NH7+bASI5+TZxNkHGwxAfuAISuB7nozV6UeRuxyFlbA4DfwRh F2JktmejZ49rOe/ohfHLgF4sSptWmRHImxWuVvnzo+ePmsYw/e+qMUHqoJXfk4soFagv VecwKZU3ZI63E352iJ+t1Swn1VhDBLREt5pcCIzNJJ35FYDMfjPwbLU3gBLbd7x9H10d WHtISL7mTCdflWo6qjhnNz0e4l9grgQUKuFBkT+zN0EnoHtU8wjSlY+NIRMP4HVTE7PX nBiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kPa7H1up+Az85ZjO9SEc8vDajv1jrdObTnlN/HBB+Nw=; b=f+SZ+nOW62PNQkmUv15ERKiDDUD8ZYZQHDDmOFtk0rwDa+QG+kNXgXwsuU3nlchjm9 TBtSsz29PGw1cmaSFqcGd6dthx85DbT9avQFbIjJR+HnaHhysqbyd33WbdNwQghW1hLY J1Kgeogu1es+jJ7E0oEAXB/nhQzntexflgjGx0l84qsoESAEXR9i2G6eiPDbSiGHGwut TNfBo/BDMJd5WBkf1SCebuYRptJ3dyTUdhe66JB2Ph+JkXpwRsWGpDSzPg/EZPbPIiVB Po9NuVdgPEA3uZ0yzEqEDRxgNWPIEQosfTJubq8dm5VB24oDs+HlR4KdG7bdDmUJjLlw ePKg== X-Gm-Message-State: AO0yUKWwyqtWY5H78weYkxO3txaME0WXFdR3X/x5itzgeblrXAUqXbX7 LC3iLNoGBmLPBpB4WLJV5rbFRw== X-Google-Smtp-Source: AK7set9PQcFgM0EqdGQF+5zGz3q7jNt/e/dDExpzM6xD7uGuXpe2zT1DhbMIft81u6i1t/Lpy+iOPg== X-Received: by 2002:a05:6000:12c6:b0:2bf:f4f7:be9c with SMTP id l6-20020a05600012c600b002bff4f7be9cmr2008644wrx.14.1675266206005; Wed, 01 Feb 2023 07:43:26 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id n15-20020a5d598f000000b002bdff778d87sm19374487wri.34.2023.02.01.07.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 07:43:25 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Vinod Koul , 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 1/3] arm64: dts: qcom: sm8350-hdk: align pin config node names with bindings Date: Wed, 1 Feb 2023 16:43:19 +0100 Message-Id: <20230201154321.276419-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Bindings expect pins to be named with certain pattern. Signed-off-by: Krzysztof Kozlowski --- Endless work... People keep sending patches without running dtbs_check faster than I am fixing existing warnings. --- arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts index df841230d1b7..ece1a7cb8b3b 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts @@ -723,7 +723,7 @@ usb_hub_enabled_state: usb-hub-enabled-state { }; lt9611_state: lt9611-state { - rst { + rst-pins { pins = "gpio48"; function = "normal"; @@ -731,7 +731,7 @@ rst { input-disable; }; - irq { + irq-pins { pins = "gpio50"; function = "gpio"; bias-disable; From patchwork Wed Feb 1 15:43:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649371 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8B66C636CD for ; Wed, 1 Feb 2023 15:43:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232222AbjBAPng (ORCPT ); Wed, 1 Feb 2023 10:43:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232020AbjBAPnd (ORCPT ); Wed, 1 Feb 2023 10:43:33 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74C3447EDC for ; Wed, 1 Feb 2023 07:43:30 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id d14so17711851wrr.9 for ; Wed, 01 Feb 2023 07:43:30 -0800 (PST) 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=hVHw9v0pXQ6R2l7L/ywJP0jDdDW7tCjuR1IC/AfCQUo=; b=zVmBSXytm14PHNgLXnLeq9lKld2GcQqOrfiRoFGShVTQR0YFqsgc1OwCwM5/kNIa5e SzdPe30qovmpuw6ENB4PRa+JJZxWI+FJl8G06tlFeiTYT7ERvBpPWLygebHI9nvNXv3b hJH/45P0iGpmWwZPvak7pIudtr2Ew3yanC3KW1lpSRY6r6843cLHQAF66CPt2YVTW+ej Tsa6aDilRko1beWBsRRWsdl6QADlcO7T0/mhS+dNXnej+fI16iAA3d69zrDyLAaJshx5 hSgyS5MiAePupoVs8Prvf2wyJUKlIYxkiLopH6fP/QTyVyV3X9Z1BClVzPbPFltBXwwy oAuw== 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=hVHw9v0pXQ6R2l7L/ywJP0jDdDW7tCjuR1IC/AfCQUo=; b=JgbdO8ZfEsCrPq1M0zHJflR9nIeZS53mBzSzf2XDPS3sJQCS5+ldO3BaMFKRZrG4Ow SFd93L8eWK4E+8d4Yw21NlCcUHzqodS4sqABOeou+sKyjXTq7LPIJzRNGMjjgwHMPxv+ djPYPMgW6+YLvrVPiwj+vTMX2JD1MGIiqd/VT6jT5LmDDWcUc0iC7AltQa41ypQ6WlCp 7UWFo620xSXac8M/d/iLt0LKFCwewepAFBgG3suExLdOHKiYaeXAkP6U17D80Uv+UfGA bqpNeCEdEiQpEAI1Ya1LGuczlbvziD2gANH+aOpjtsu5cjzYgtZTB+/M/+G+/ayHboJ4 KiSg== X-Gm-Message-State: AO0yUKXleoDEfaJh9tNYh1gTiHG73Vr1R1sbnzMHVGBQpG3Iu8EAfHHV pBhmLWcz/EwaR2Vw+9NW82gDUg== X-Google-Smtp-Source: AK7set8EWDsKhlyO++K9kQHaMrRc/G96gFxbwgCfGoe/0B8dA5vQYKGbnttoDr25HOxCFejOnNybhg== X-Received: by 2002:a05:6000:1f0f:b0:2bf:94ea:67ca with SMTP id bv15-20020a0560001f0f00b002bf94ea67camr2935761wrb.25.1675266208846; Wed, 01 Feb 2023 07:43:28 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id n15-20020a5d598f000000b002bdff778d87sm19374487wri.34.2023.02.01.07.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 07:43:28 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Vinod Koul , 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 3/3] dt-bindings: pinctrl: qcom,sm8350: add input-disable Date: Wed, 1 Feb 2023 16:43:21 +0100 Message-Id: <20230201154321.276419-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230201154321.276419-1-krzysztof.kozlowski@linaro.org> References: <20230201154321.276419-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The SM8350 HDK8350 board uses input-disable property, so allow it: sm8350-hdk.dtb: pinctrl@f100000: lt9611-state: 'oneOf' conditional failed, one must be fixed: ... 'input-disable' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml index 49a74f351e99..e13d50d6d388 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml @@ -109,6 +109,7 @@ $defs: bias-pull-down: true bias-pull-up: true drive-strength: true + input-disable: true input-enable: true output-high: true output-low: true