Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1144564rbb; Sun, 25 Feb 2024 23:09:01 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVHiUNlatDvz3kkEXuiWraRzSOznddggcuMny5/evPjNtBO3NfcNO9G9/fiYoeZxHuRMdj5siDAg9yYY6lLe4KVK8nIsvoh70tFuwAyoQ== X-Google-Smtp-Source: AGHT+IGVAq4ZEkY2BHFh7iwQ9Sj0n9HqH2PrIc13V2+r6MyHaEvDI6kxSpRnmQjjyRJtRuNqiYMb X-Received: by 2002:a05:6214:3d0d:b0:68f:f9a8:45e2 with SMTP id ol13-20020a0562143d0d00b0068ff9a845e2mr6715730qvb.24.1708931341694; Sun, 25 Feb 2024 23:09:01 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id eq10-20020ad4596a000000b0068cb7c033d6si4396833qvb.24.2024.02.25.23.09.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:09:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XYJX9j0l; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-80618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80618-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4E49B1C21541 for ; Mon, 26 Feb 2024 07:09:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3A1A1BF24; Mon, 26 Feb 2024 07:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XYJX9j0l" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 1CEE11BC58 for ; Mon, 26 Feb 2024 07:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708931328; cv=none; b=sU3Cg3IxHx073jXPHEHXluyrj/9Jd8nd1hbvv8TCn3J2yNHiBE0Dq3zZ/flWGNB0YjOS3nLdre9CHi7kJ8riy8Fbg7Sz9TCj8Mf3WPUY/BTHyO77VAEwHENltvYTlVPT9lOl3+Z68xw29Hvs2b3f/kQoLBKdwkp2eUPZBmLvP9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708931328; c=relaxed/simple; bh=OS9WTaEXVOMMENks6YwqnSyrfglczQxYcXTzWisnNDI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=L0V+Nh4RTscuyu8hNjt+dmD5mBx7xBg8Zx2SEaAOOtR+7MJO0DR6s6qOwEbBSlYwBvZ1Lj0KQqEQMw5Sojji5y0eUvpXRYC4tz9SIISbVdCisedEU05qLRgx8RCsyj6QfePrq0Amewx2t/609l5WmEYkICJKwHn/xeiCm4iTzCg= 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=XYJX9j0l; arc=none smtp.client-ip=209.85.218.47 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-ej1-f47.google.com with SMTP id a640c23a62f3a-a3e552eff09so273839866b.3 for ; Sun, 25 Feb 2024 23:08:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708931325; x=1709536125; 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=3hw1po3g3mmdi+54a+CW6CF/ypobceWxsTw7g/j9bSQ=; b=XYJX9j0ln60QrjEzMymmHgbWRN0b86CIYHs7xKT7xR5u13UTOlf0nUyLvY0+N26ed5 Gv0JnkK6U7Ik63s1V9iy2Inn4acR9MctdC8lDow0QVeXg+/EpyCF8DNAjh0hkWSiNXhT thiCKEj37ZYdB6kimuvWMl4ZEK4CPUhHMz1Ugie2em8knCZrtA8vsfyLldij/o/vYKiH EFI9EWO/1nJJV9SGIhGFwA5TJLQzCFaWnRW7tyX7vovsop83tSzO2bzBz+Zo4zc/q4GG KSYDaiMWOGl6ItrApdseqcaMPz76+pouOJs948Jzsz/IzaC1Lv6UIfEImYg/d3Rhqbsk 3tpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708931325; x=1709536125; 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=3hw1po3g3mmdi+54a+CW6CF/ypobceWxsTw7g/j9bSQ=; b=PRZQKE3KrkPf9s34HN+Y1Yq33BrczhYoCWw+0y4kcKLt9Q0cgTw5TMTDbN5mqWgrrZ F+5onnYD+vDnuYI1Wt2DQU6czqE4aO6e0Ih3wwtmXw7H0ABmOdcX/kef2d2VthVk/a3B Ofym4CG4+1dWA7ubsOx+bpcYyv0iCecgjruNgpTp3GEdIP1a40Itoxck40ubH8DnxUZD VjaxbRn46yKZs6Q9EtQkK+2ssr7ld6udY/mocABTzw+SG6dtgfyxGnR9lC0Y1XQqHPwt 6qI+TSRsNWt5M3juB9lQgk3e36W+KGk1tJliihuK2nd2FR+EzWZ3l3++R5bzR9jXFc/z wliw== X-Forwarded-Encrypted: i=1; AJvYcCX3c65nSFsX0uaXhw3cb1hvS1MDmWKLyU2XmVFWWJF7oX4ia2fU7sNmtXf2Il1v91Gb7iaiyzrY5ZhABRTPx83f+APeYJ12o0KoEMs2 X-Gm-Message-State: AOJu0Ywj8Mqf8mC5fisuo5RhmMRlFhT9br83oC+7oUC7aByXya7h4Atq ewompo1d0Voh7jz/gtFrbhJhl8VEW4PBDncrtPiJJUn1YksKrsQ8ffRED+XVnuY= X-Received: by 2002:a17:906:2419:b0:a3e:f7ae:49b6 with SMTP id z25-20020a170906241900b00a3ef7ae49b6mr3585434eja.49.1708931325456; Sun, 25 Feb 2024 23:08:45 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id nb18-20020a1709071c9200b00a3e45a18a5asm2131412ejc.61.2024.02.25.23.08.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Feb 2024 23:08:44 -0800 (PST) Message-ID: <458becdb-fb1e-4808-87b6-3037ec945647@linaro.org> Date: Mon, 26 Feb 2024 08:08:42 +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 v3] dt-bindings: gpio: aspeed,ast2400-gpio: Convert to DT schema Content-Language: en-US To: Andrew Jeffery , linus.walleij@linaro.org, brgl@bgdev.pl, krzysztof.kozlowski+dt@linaro.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20240226051645.414935-1-andrew@codeconstruct.com.au> 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/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGw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cbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240226051645.414935-1-andrew@codeconstruct.com.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26/02/2024 06:16, Andrew Jeffery wrote: > Squash warnings such as: > > ``` > arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dtb: /ahb/apb@1e600000/gpio@1e780000: failed to match any schema with compatible: ['aspeed,ast2400-gpio'] > ``` > > Signed-off-by: Andrew Jeffery .. > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + description: The clock to use for debounce timings > + > + gpio-controller: true > + gpio-line-names: true min/maxItems > + gpio-ranges: true > + > + "#gpio-cells": > + const: 2 > + > + interrupts: > + maxItems: 1 > + > + interrupt-controller: true > + > + "#interrupt-cells": > + const: 2 > + > + ngpios: true Where are the constraints I asked? minimum, maximum. > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-controller > + - "#interrupt-cells" > + - gpio-controller > + - "#gpio-cells" > + Best regards, Krzysztof