From patchwork Sun Oct 16 17:21:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3113 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1096036wrs; Sun, 16 Oct 2022 10:24:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7w9tAgcYc0y100Aomhk3+NGYO0wnzn3e6Qj002LLADTTzgtqCyyg2VBWhlw4La994r7WDi X-Received: by 2002:a65:6e9a:0:b0:44c:2476:12e0 with SMTP id bm26-20020a656e9a000000b0044c247612e0mr7411110pgb.159.1665941087378; Sun, 16 Oct 2022 10:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665941087; cv=none; d=google.com; s=arc-20160816; b=KaVfBHawX4a1m+io05grQVlhQ3El9fVhJ1rt0sYy8EvNIz1h094uHB6DemwwKpvfch EJhWluiifmJqsGtQzmKCRygQwzSEN4JDxMv2cutK/qJncSVw96BkT5XYvWogJ+WZOvb9 cOdsXOFa6pWPkPYayxMK+/4lbL/0yIFpzYj7lCAslfZnbSnYpEY07/W0hf5LDy1SbyXR kexrBLrasZ9EwE3R5moWksXY2QoOPOddi3O+kSTrOKlDEjloyL5P37i+8HF8V+orhk9O CRzzoYW952nUFaJX0rCLu5JL4XgPjt1sz6d0DbHI55dhT/8EhRy7jMXuJ0Hbvf9iMeEC HwLg== 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=Lb2yg7Pt4DxTka9+KV6Co4SrBHPOoUuiBCx5duzCR9A=; b=d8WTK82k5qPpv42Kc+tocorfwHT6ffBhbRtRIKfPuczzynwj84YSd0IsgVZ/+mN1pz uvoNYx+5yHhXKI/HLxwn83DL2IHK1bTqFzaEay1Ffds4skOUVGQbicnMqwDAj+IPkVJ8 pUNRKai255PugvDOls9gPDshJDiIGOTWV2yTo7sosz5ovPvlfbwJS3oWXChj29FbGNvP F6pXRreQqdoq57gFI46MJ7PiJsHhZKE5bV9L2AErlX7sdpsRM2kja3eAGMOXOSsRSqg/ JC7dpgDKbMfE5+q88gBHl8tNIkC4fJKY2PYb+giqU6oLYTp1JcpAYDLFdVXJW/Sspkvp 8stg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gxCrwHeF; 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 i11-20020a17090332cb00b00172db9d9a01si10158358plr.616.2022.10.16.10.24.35; Sun, 16 Oct 2022 10:24:47 -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=gxCrwHeF; 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 S230024AbiJPRWt (ORCPT + 99 others); Sun, 16 Oct 2022 13:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229851AbiJPRWi (ORCPT ); Sun, 16 Oct 2022 13:22:38 -0400 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6518732D92 for ; Sun, 16 Oct 2022 10:22:35 -0700 (PDT) Received: by mail-qv1-xf2a.google.com with SMTP id i9so6281468qvu.1 for ; Sun, 16 Oct 2022 10:22:35 -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=Lb2yg7Pt4DxTka9+KV6Co4SrBHPOoUuiBCx5duzCR9A=; b=gxCrwHeF3zKR3Mjuj7bVIh5ELqVK3T/d2MLsiMnXXqFIB9Bdoq9rpNM396qANikuaF k7zEuq0JrfqWTBHMISokDgf7kkLX6PMINMksRD6heLq/sP+OgN6LkkGKJpZQGuIjgO3S 3/eTDEfobeyBqN2b2sspR8aJtT6Krwq6a2cM/SitV7B+AW/zmSPS7Faw0DxfNfv0eokt JpGIprISOFz+yG6abcbVGDVHxqTq60G2Q8nmGh64NtNUMqhUajZReIu+sVDvaGn1rFWl 8F6/S3uSkpQjURXFFXFWfcPWlG95xeSlASXRtlguFDAu1O7OOyj0O6liirIqNr5NGlxr wyDw== 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=Lb2yg7Pt4DxTka9+KV6Co4SrBHPOoUuiBCx5duzCR9A=; b=qELP2uiEzAFukVpMEInplsHWN6/St9U7CdXNDQRCZsefXSd8eY87gzUqJ5WKK/y5/9 UIzhUgHlyoU4wzqruXSBNSGkZvtGnvSQkMvuTf5bULMd3MZJ5Fr/1PXBHP/3r2aLI2GI pVENtIc2ftIcI4GLxJis7lI6H17zWN//8GF6u2QcpDuAu442N8GrK34XxZ2HE5miFG9m T+kQp5LWkVUHtffARR0wmG+2jT/LVuh1iBLwFHZhSGmpkY9j0j2GaEmZvVLR8hYzeCgz sceY8gnrB5JG9MbqRy7UC3E05pu51/1WXtp2GbcqypOkTdGJdSwcgUKh0LZQBo9QNLr0 EBGQ== X-Gm-Message-State: ACrzQf1CiHWGMJ/HNP71MTMUxUCP6BZrHK1vFSg6YjXZzQuor9lE7oRI coz44+ll7xo/nDvRNx5a5QPynQ== X-Received: by 2002:a05:6214:da9:b0:4b1:d600:f9d7 with SMTP id h9-20020a0562140da900b004b1d600f9d7mr5868918qvh.26.1665940954892; Sun, 16 Oct 2022 10:22:34 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:9b13:d679:7b5b:6921]) by smtp.gmail.com with ESMTPSA id r5-20020ac87945000000b003431446588fsm6051008qtt.5.2022.10.16.10.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 10:22:34 -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 v3 03/17] arm64: dts: qcom: sc8280xp: align TLMM pin configuration with DT schema Date: Sun, 16 Oct 2022 13:21:58 -0400 Message-Id: <20221016172212.49105-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221016172212.49105-1-krzysztof.kozlowski@linaro.org> References: <20221016172212.49105-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?1746865841970702034?= X-GMAIL-MSGID: =?utf-8?q?1746865841970702034?= DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. qcom/sc8280xp-crd.dtb: pinctrl@f100000: kybd-default-state: 'oneOf' conditional failed, one must be fixed: 'pins' is a required property 'function' is a required property 'disable', 'int-n', 'reset' do not match any of the regexes: 'pinctrl-[0-9]+' 'disable', 'int-n', 'reset' do not match any of the regexes: '-pins$', 'pinctrl-[0-9]+' Reviewed-by: Konrad Dybcio Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 12 ++++++------ .../boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts index fea7d8273ccd..a2027f1d1d04 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts @@ -374,19 +374,19 @@ &tlmm { gpio-reserved-ranges = <74 6>, <83 4>, <125 2>, <128 2>, <154 7>; kybd_default: kybd-default-state { - disable { + disable-pins { pins = "gpio102"; function = "gpio"; output-low; }; - int-n { + int-n-pins { pins = "gpio104"; function = "gpio"; bias-disable; }; - reset { + reset-pins { pins = "gpio105"; function = "gpio"; bias-disable; @@ -410,7 +410,7 @@ qup2_i2c5_default: qup2-i2c5-default-state { }; tpad_default: tpad-default-state { - int-n { + int-n-pins { pins = "gpio182"; function = "gpio"; bias-disable; @@ -418,13 +418,13 @@ int-n { }; ts0_default: ts0-default-state { - int-n { + int-n-pins { pins = "gpio175"; function = "gpio"; bias-disable; }; - reset-n { + reset-n-pins { pins = "gpio99"; function = "gpio"; output-high; diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index b2b744bb8a53..68b61e8d03c0 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -350,19 +350,19 @@ &tlmm { gpio-reserved-ranges = <70 2>, <74 6>, <83 4>, <125 2>, <128 2>, <154 7>; kybd_default: kybd-default-state { - disable { + disable-pins { pins = "gpio102"; function = "gpio"; output-low; }; - int-n { + int-n-pins { pins = "gpio104"; function = "gpio"; bias-disable; }; - reset { + reset-pins { pins = "gpio105"; function = "gpio"; bias-disable; @@ -384,7 +384,7 @@ qup2_i2c5_default: qup2-i2c5-default-state { }; tpad_default: tpad-default-state { - int-n { + int-n-pins { pins = "gpio182"; function = "gpio"; bias-disable; @@ -392,13 +392,13 @@ int-n { }; ts0_default: ts0-default-state { - int-n { + int-n-pins { pins = "gpio175"; function = "gpio"; bias-disable; }; - reset-n { + reset-n-pins { pins = "gpio99"; function = "gpio"; output-high;