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: 649277 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 F0A9FC636D7 for ; Wed, 1 Feb 2023 15:43:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232168AbjBAPnc (ORCPT ); Wed, 1 Feb 2023 10:43:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230447AbjBAPna (ORCPT ); Wed, 1 Feb 2023 10:43:30 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77E60721CE for ; Wed, 1 Feb 2023 07:43:27 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id t18so17747985wro.1 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=fNTY5QpB7VswIX2hfvqSI0KS7vRtQPyAV7s2BdM/c1IJBLNcNS0ngI3XYTq/vR2BLy 12gKrD9d72p4XfpWv+lbNTfNPUEA+FcIpZXUfOzRNDA6CpFrPAGUkVBHe8v82hByLYQo wkLhBzjk6QUcB66f9P6nzPqfLEKrzVc0Xno+N1YkVi8uM2lOPUwEcEK4x9VcVewG45lO pauVjHPPqa750/lE0cmZEHwJ9xQs8IltbMGrwNeX6b6qNn3K9Ss5EgmBqYZ2saHsE/W0 by8M5Neaz9n3EbmHqREnQRD2fnJb90MkA0uNDboe8WraLHOfYLhLICkyVrf/oDlogrE6 Hd4A== X-Gm-Message-State: AO0yUKUcaI2GkmT3dtv2Ywq40f85M7vSn4s04z9vgZCyli1mFkOMdB5u 9y1Lc6G75XWy5br2euq94Dvi+w== 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: linux-arm-msm@vger.kernel.org Bindings expect pins to be named with certain pattern. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- 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:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650329 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 EE89DC64EC3 for ; Wed, 1 Feb 2023 15:43:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232285AbjBAPne (ORCPT ); Wed, 1 Feb 2023 10:43:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232144AbjBAPnc (ORCPT ); Wed, 1 Feb 2023 10:43:32 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECDE572675 for ; Wed, 1 Feb 2023 07:43:28 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id t7so9361666wrp.5 for ; Wed, 01 Feb 2023 07:43:28 -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=m3/+DGTzaMhuWDoFuxtV+F624fb5f16Gnc+LmgQza2w=; b=eTinXDgcSYCi97JGp8uBPtqXmT0IhqXl6d0FGqTKMIHYBl1MHa544hUoOsoSlhVP9h S7NbumBzTgzeKlHu97LG3WRJsPBJvsDVMKHAO+ir9HWyuy5uDbbPaJl1+b9KMUB3GMx/ ad0Lm8ZNNQFxjXUcq9VKDDDSZZR5b04UIr7Gj2Mg+xMzVijMJAyOIy6xtauG4Hntun4t zLDVNdfvJl+6oR1f9yaudR/rCy5y0vdrxGBG9ORIWun3VA1z6CxURXyMVw6h7UPKOi/9 5J4CeUqrz3c62Pu5olAV77yvOU6kFpjJF1T1fydip7UjWma3kvlH7KUGy7t4cdF+ExfZ 9Gfw== 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=m3/+DGTzaMhuWDoFuxtV+F624fb5f16Gnc+LmgQza2w=; b=YhyFcv+XMgLG6iehlcFThpnb1vZ5RMMqJn5D4bPFVp4EA+0nl8iY8wQIVGEG8QsLUS kfnMIFEdjk3j8ctQjbfvqqkP13RhD0URUU8BQ2/LvJ9nP7G27qmaS6XzEqM9UAieXq9e vzAyOLKBOxSQZvPb9Lx7dtG2lRQxPDZCE9yOZuHpXsOWPCh3t0VKjEIe7mZkwrB/M0KB 6tSuABKDLjwAQSivNv3du+VvwUmfqySEn9oPzDbIaTdFaw5TjEm7rDDOiOKfaH8WH5zz 6wdDVLXntH0Gv71w75xwcSxB6bOEKAo/Y8zfFaRDOze/3N4KexTCvEzazfZMnbyOGSyQ 9ffA== X-Gm-Message-State: AO0yUKWBwOT/QSJtDpy65z5AGU7dY198ZfWhn02CfON1zMfMVs1ySyKz HEkdzerUwDRq2K8+P5KW3DMYJ1i47s9l2Vz6 X-Google-Smtp-Source: AK7set8j/RkB7/JnR48HcK7frKqnm40tPU9lEx2UVWT7zWWDUuyw+W/Jo3VSgqlGedGvqojeUTpHXA== X-Received: by 2002:a5d:6d05:0:b0:2bd:e13f:48b8 with SMTP id e5-20020a5d6d05000000b002bde13f48b8mr3812743wrq.3.1675266207447; Wed, 01 Feb 2023 07:43:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 07:43:27 -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 2/3] arm64: dts: qcom: sm8350-hdk: correct LT9611 pin function Date: Wed, 1 Feb 2023 16:43:20 +0100 Message-Id: <20230201154321.276419-2-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: linux-arm-msm@vger.kernel.org SM8350 pin controller does not have "normal" pin function, so use "gpio". Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts index ece1a7cb8b3b..8b7cc45b0919 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts @@ -725,7 +725,7 @@ usb_hub_enabled_state: usb-hub-enabled-state { lt9611_state: lt9611-state { rst-pins { pins = "gpio48"; - function = "normal"; + function = "gpio"; output-high; input-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: 649276 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 D2E6BC6379F for ; Wed, 1 Feb 2023 15:43:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232099AbjBAPnf (ORCPT ); Wed, 1 Feb 2023 10:43:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232222AbjBAPnd (ORCPT ); Wed, 1 Feb 2023 10:43:33 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6178F4743B for ; Wed, 1 Feb 2023 07:43:30 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id h12so17703996wrv.10 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=LZbHP/mH8aS6Pwk9uh0go+x6EBpgJBw/F3sCgC7IhMR9W45DyrxIWodjbArXiujayj cLMhdUM5sWhb5QjMv6YEE4cdJw8wgSX6L/L5semWLgzRTAzTxJm+J9bQbGB+uf05LaNT B2mYinqE6zXpG1XkH5lV1//hKjMmSvT3DIMtgG/AKkRqgFzcGnlrHE1TBVWGfsFxBQ0w bf0U+zzGHq6Mr59LYA4YI8U6Uuu6sEk2u2gXoUpV595jvxmqh+0/RVuUvoLZZ1aAxqep ZxCJfqVpU9GNIg3tZQJR/z91hQpmL0ZIyzoF3CruiIdwND1oWgMyDt4zEeb+zpBbJJTE ehfQ== X-Gm-Message-State: AO0yUKWu2QrkroifI9N6Pb+NLej6fHULdIYki5LkInVkFwxtbOvbTasl k9sQCHnw57qfdngscSFRDFMw/Q== 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: linux-arm-msm@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 Acked-by: Rob Herring --- 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