From patchwork Wed Mar 8 01:28:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 65977 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp81858wrd; Tue, 7 Mar 2023 18:04:33 -0800 (PST) X-Google-Smtp-Source: AK7set/PFiDlIAKrqhaAplkixksXmfp4sCnsfVsQrgYWtbyndq3owA0oo4XfGedDkuCegBTC1vgV X-Received: by 2002:a17:902:d489:b0:19e:5cc3:828f with SMTP id c9-20020a170902d48900b0019e5cc3828fmr20796487plg.27.1678241072879; Tue, 07 Mar 2023 18:04:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678241072; cv=none; d=google.com; s=arc-20160816; b=DzS6WVVxhd51Tv4WzzKT/bUOjp7KJL2ATdMj1BHQIZfJzPSilJQSoAaUWbx8JKlcbP U4aPOqIPUhei557cO7lerExM5zoeOuIVbBzJ5mU5McmqDc5XUgWI5lA/DzcsyFis0VvY L6SL7V8qYcmHOy0B7QpiElBOJHT7nbtWTmAJOev+u9qiXdPOjELss5BJfQVf7TakzpOl /f9lkkm19e55JdNudWKQl17b+PWqT4zW7o5T3QLkqKykUDC2n24JIS5x7hFhu6o8pcoO luVO+3USth7C9kG78YhLiedixwAMCdHkjiTKaN51T2sNuOudH3h27VYK2lgkFz5Mt0mI KA2g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=wcH6ChrdybSOEpD7JCkvJREKmTq11gzbfL1luIuLXkc=; b=oKn5xEY6P6BFuLC6b/7OuvvfR6tzFKDwN8I2xFjNxS/quxew6SpDvOwQifXlNpnTxz fH7N6Dn+QvFpXAAZjP2v3cJqFotwngqbOzrguHwtvYfmHQCjngvNCn7XMXsV5DueClr5 aS+SbJBNY31HC7c/8Smfsy48qIqH+6AbcrMsdQpy9feamcqw7unzclo9NC83dcw94ryJ H3CQCzouzpsWCVXiQhgAxHIqzEDUOmDWOKHzqnVOw8LT/KNkgiXJ6kVd+j5VrRDiuf2L qxouY1k81P7IjlKSW82+j9Cb0lxR3OeZWp/myaxkx6kSApL8ZegesN2f4NSZSILaGEjh 1n1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WmCAqapr; 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 x7-20020a1709029a4700b00198b022d9d0si13070666plv.12.2023.03.07.18.04.19; Tue, 07 Mar 2023 18:04:32 -0800 (PST) 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=WmCAqapr; 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 S230059AbjCHBaC (ORCPT + 99 others); Tue, 7 Mar 2023 20:30:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230180AbjCHB37 (ORCPT ); Tue, 7 Mar 2023 20:29:59 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7788587D87 for ; Tue, 7 Mar 2023 17:29:19 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id j11so19424125lfg.13 for ; Tue, 07 Mar 2023 17:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238940; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wcH6ChrdybSOEpD7JCkvJREKmTq11gzbfL1luIuLXkc=; b=WmCAqaprgGN011ev+tuC6gu8/acpauS9IYp7lJcpFioq7F2/WLgU3NW9A5dF9AwsrF R5H6XwXd1tHuiypD7DoIr6e1pSNoLm166oGUlJrE0/jZXzBvDA99YeOjSsxpHed9J3z9 nBHt/Zp0C71yln6yjUpOdMrPVK9keRog1l816ixjn1WtnT7bibSa8UIipjd69TBX39Z7 nF5m5c2vIIP1TdG/w10l1p+OJXBVPY4ipVrF0iktNQJHHiIyzqxe9PxD2Y8yPn7DFIIo CrnYHlL5H2GbGKBjDRJQALiMN0oifRnPbuQ9qK04rjlz2vLCLQnhH3EmKJXaZpY+fi99 GVXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238940; 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=wcH6ChrdybSOEpD7JCkvJREKmTq11gzbfL1luIuLXkc=; b=2DJLzcISmf1hMYQgMKxhG5HfrtDCOJ/elY8nlZDn4+9+YDm9DzBOYcp6X3OB9t+1YH n2cIDI0ei8bREM73TyvQq17Cjv9zFajT5KGBcBmUWAUejEGs4mcf6NMnQnjCMksGrV6H ww/upcu8Q8d//rrIZDX6ufQBDKsiMksfhClVyJIvNh0nqmrzMySoEbXwIPnFL/6t4K+7 QKSqrQv2eIJ88JNkjmWemg+PlG/1mUJqlMLOzC5o1KTJikyXrRnj34hph2EudDIBgo/e vOoYZp8ULVNNyieJTYJpizvRCIuppkJzLyj963w0cWJh2P+2UCzIC2DEQtgnxSSd5eIh Ohaw== X-Gm-Message-State: AO0yUKUvHGUUA6OjSTmX4ad8NwWQaay347E0sIjxutu/5kye2CXOKANi ts3BuN1j3LGjiFX7ydeOr7SKfA== X-Received: by 2002:ac2:4ac9:0:b0:4dc:84dd:eb91 with SMTP id m9-20020ac24ac9000000b004dc84ddeb91mr5202676lfp.22.1678238939731; Tue, 07 Mar 2023 17:28:59 -0800 (PST) Received: from localhost.localdomain (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id u17-20020ac25191000000b004db3aa3c542sm2174173lfi.47.2023.03.07.17.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:28:59 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Marc Zyngier , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] dt-bindings: timer: armv7: Don't sanction address/size-cells values Date: Wed, 8 Mar 2023 02:28:53 +0100 Message-Id: <20230308012854.294939-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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?1759763311310220945?= X-GMAIL-MSGID: =?utf-8?q?1759763311310220945?= The driver itself does not read the -cells values (and frankly, it shouldn't), so there's little sense in only allowing [1, 2] x [1]. Allow any values. Fixes: 4d2bb3e65035 ("dt-bindings: timer: Convert ARM timer bindings to json-schema") Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml index f6efa48c4256..236e2a05c1ad 100644 --- a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml +++ b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml @@ -26,11 +26,9 @@ properties: maxItems: 1 description: The control frame base address - '#address-cells': - enum: [1, 2] + '#address-cells': true - '#size-cells': - const: 1 + '#size-cells': true ranges: true