Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp967634rdb; Tue, 30 Jan 2024 04:19:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHknwgwrGbPAa6QvOJkgQrn5KYft3TbR2rCuvE7+LFw4YT7xQhyZlspG/YpYWILT5oCdD+o X-Received: by 2002:a4a:350c:0:b0:599:ba9c:393a with SMTP id l12-20020a4a350c000000b00599ba9c393amr7280447ooa.0.1706617193867; Tue, 30 Jan 2024 04:19:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706617193; cv=pass; d=google.com; s=arc-20160816; b=U43J/WxNOab0bTiAIUzpJhdlv5AfOUBCP6ZgrMf3kKH26kHkbfrF9Z40I/OPuEV5jf XqjwA9WpDy0MbGoczNfQtN4KjVLfbEtT5TCLb0NVuStSJIwsfWbLJrVyGZycxmtJtEp6 xFteFbw2vyKVKiHBPPAQYlobhHgQWOiOQ7ex6jfyu9ZoRKFcVbEIaCPPI27TPjihMrf5 Wc6Cr/BSNZDay9qqhQMvt3K+9bNaJyD78IlV3eWjtpCAZ6cheri3KGe7CN3tvIid+hyb N698pCGhrShxSf72soSHxBpAzf0lbnsKZVAGX0Y0IEhayYzyE6l7iVR0o5Jw47oadVHR wZKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Gnb118wvb1elySB2kv/rGXgR8mDeRHl4GCCx/QgEN8U=; fh=gKxjuKikTvwrWnnOfEv86Oos7Aku8fUrtieXDLt8jd4=; b=UoyDxSchXAPxahm+L+QChzfgIz/N7/UNIzUMT7bf3lGk2gAtZ4BjltVGvZKl31pE5+ WRs3zAaQ+GmkNljoRmZkZSYYdLW+KA/9W4pJXMKLbMrMfEkVkdCfuSYLJKYoVtU22K53 ZsPfj5X8vv7NJcZgnfhRxkA6QmVikSDD9VoMwoN1qMPsHFOljUaduExCgn8juN3ngy1R nl+5u0bTEqbGoJAsOvOAI3dozEkk9cAsGPmJOdlKdt9NBi0xC/jOEgKTiAdk9XrcwBm8 Aepp9irS9MWeVnG1J/hO5fvi+Y2caoeqOJno7NJ4VcCqCm7hSOaQEJEmU0q3/XEdxpPE j9+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gD65BvqE; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-44592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44592-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d30-20020a63735e000000b005d8c2880a7fsi4389968pgn.59.2024.01.30.04.19.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:19:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gD65BvqE; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-44592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44592-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 756CA285C95 for ; Tue, 30 Jan 2024 12:19:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0DA26A03C; Tue, 30 Jan 2024 12:19:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gD65BvqE" Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFE7D67E88 for ; Tue, 30 Jan 2024 12:19:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617164; cv=none; b=f1vd0yXgvZ2/yDZ2kutUUfekHef7UrKiuqVYEuRgd9wdGhUDvzQhXmJqv7XMKni785tQ3ZCjgWJx91YGChFvuVyddMpfe+D/4C7bVcwccBrzkr4Ejo+Yw+vdhg2Erya+/6nPvWHjCpqeXZUdAQ3Jtl8efvm2phmXN9JV6BDh4VQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617164; c=relaxed/simple; bh=iQzCSNnyouJp2Wy6QkGA7g9a6IPP8cqVesNbQgWHw7U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=B/IH7wXrg7Y+DuOaaG9b9Q2sbOduZhvdfobB9gS8NxpirNWNGfDrMDAJu1zfyX6o9BvVpZ/KT70uCd82XQ5L1+79qRVubq1NsosiQN2MTkwWq7hWgKksl+WHIZZkXK7SZ9SM0T8MIGZjxwnMfwp57P504vdzlYVbYYpScRfWOOc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gD65BvqE; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2cf45305403so37650181fa.2 for ; Tue, 30 Jan 2024 04:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706617161; x=1707221961; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Gnb118wvb1elySB2kv/rGXgR8mDeRHl4GCCx/QgEN8U=; b=gD65BvqEv+NS6eB+fWPKr2uLPpv414zqJesqbFAm0fLkzU91i4r6jQXA6P7/fJKJB7 oRxHYHwYlt3Uq3TMGx50QXbV7zMMIQdlTqaO8mRXUheapQRzfOQZvB/EBPk1AZxJOyXq ZIwF8upOjs2p8KayQQ7Hk11Wl21bkZIuFL2EnAV71McYBvqLWDgVOtO2T75lpy7iWfSW +R7RFO1nJ/yEBD6gQ+UE+4RWuCtFRGQBwicsqQoD7hzQoNvGrRmA4DOHUXVOOeDnuwEG r9UCgLEZnFxpz/N3Zkb2wU3yh/Nl6ZMhgzYSi929TbyriQ05UWcoeAEBEP0pzf/85JKf VUEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706617161; x=1707221961; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Gnb118wvb1elySB2kv/rGXgR8mDeRHl4GCCx/QgEN8U=; b=HbFOpZX3cShRpYZtEPEQj7QQFFXEmJrTWoMU+bu6t9HJcBIlffYREywG6jk2g0+L1p JPjxpcZed6zKPoe4XNuOSUSMkbfpj8w0GKwJpla9HDvxFqYnHVXUbDTVwpOCX3oUktZF 7W7LoTsA7AEP7Vmgdb9Q+izvT8OUgMGytRIApguuvfmGYWDdEOk7HmdpIsINgYtLQN3t RQXS69LHgtQ2FKCJb/1W1cX9a0EW30kzaD8IRvEJN6yAL5Wg+pD5m2uvgSTj488ZuQct Q0w9Eh2mhOz7VPnez+3He4lG4Gh7YOHV4ANkvUSo/OamTOnXFUqltADriVJCvreoLCGH yHAA== X-Gm-Message-State: AOJu0YwCz4umNpAZVwJC7TdX6HvTEBhv2MpsvZc0rn/z47HAfgRMDsIj 0b188WlLfuFEG/lqp0wTRVKnc8e7uEgEoRDfBrV9oPJTIRfqC9H7Ubz/gfLdZSI= X-Received: by 2002:a05:651c:19ac:b0:2d0:4c0a:a414 with SMTP id bx44-20020a05651c19ac00b002d04c0aa414mr3800947ljb.50.1706617160887; Tue, 30 Jan 2024 04:19:20 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXrC34wZvBkp3Yjiv5saRu1LoYKrIlQiDzUF3fD+HfYfhylwdnRVJ8pWy0VL30J/Jj/x1poFbS0Vv/SGYaV/5tF02PgunMwzNUx0u1dUgm/tVHFP7dzl5mf2y6cZRdVZ1zH+r9HW2lfrKd822IFFtmKpNWHAcYlOq7mW8/wbv0Awq31wmSqyf7smXwj/t2ZSty7gN4YtxdTbCdea/iUrC9PvITNkXs3btzdVnW9KELfs39l/mRpb/iNiuFElOiz/+jCx+hWE05CU0bOai8fxCCALZdvrt5PaClBvQv0GtUW3xqm2xoj38BvhnzKcjti0aVeY2XSznX21J+wC14EyLo/yxT+w3/g7zIh Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id ds8-20020a0564021cc800b0055c9280dc51sm4817603edb.14.2024.01.30.04.19.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 04:19:20 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2024 13:19:18 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] dt-bindings: pinctrl: cy8x95x0: Minor fix & update Content-Language: en-US To: Naresh Solanki , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Patrick Rudolph Cc: mazziesaccount@gmail.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240130120807.460335-1-naresh.solanki@9elements.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/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L7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240130120807.460335-1-naresh.solanki@9elements.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 30/01/2024 13:08, Naresh Solanki wrote: > Update maxItems to 60 for gpio-reserved-ranges to allow multiple gpio > reserved ranges. > Add input-enable property to allow configuring a pin as input. > Rearrange allOf Why? > Update example. > > Signed-off-by: Naresh Solanki > --- > .../bindings/pinctrl/cypress,cy8c95x0.yaml | 28 +++++++++++++++---- > 1 file changed, 23 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml b/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml > index 7f30ec2f1e54..89ce0cb68834 100644 > --- a/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml > @@ -45,7 +45,8 @@ properties: > maxItems: 1 > > gpio-reserved-ranges: > - maxItems: 1 > + minItems: 1 > + maxItems: 60 > > vdd-supply: > description: > @@ -85,6 +86,8 @@ patternProperties: > > bias-disable: true > > + input-enable: true > + > output-high: true > > output-low: true > @@ -101,6 +104,9 @@ patternProperties: > > additionalProperties: false > > +allOf: > + - $ref: pinctrl.yaml# > + That's not a correct placement. > required: > - compatible > - reg > @@ -112,9 +118,6 @@ required: > > additionalProperties: false > > -allOf: > - - $ref: pinctrl.yaml# > - > examples: > - | > #include > @@ -133,6 +136,21 @@ examples: > interrupts = ; > interrupt-controller; > vdd-supply = <&p3v3>; > - gpio-reserved-ranges = <5 1>; > + gpio-reserved-ranges = <1 2>, <6 1>, <10 1>, <15 1>; > + > + pinctrl-0 = <&U62160_pins>, <&U62160_ipins>; > + pinctrl-names = "default"; > + U62160_pins: cfg-pins { > + pins = "gp03", "gp16", "gp20", "gp50", "gp51"; Your indentation is totally broken. Best regards, Krzysztof