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: 660587 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 4249AC6FA99 for ; Wed, 8 Mar 2023 01:30:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229733AbjCHBaC (ORCPT ); Tue, 7 Mar 2023 20:30:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229840AbjCHBaB (ORCPT ); Tue, 7 Mar 2023 20:30:01 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78F9993122 for ; Tue, 7 Mar 2023 17:29:20 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id i9so19477504lfc.6 for ; Tue, 07 Mar 2023 17:29:20 -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=CT+YgfM3fj4a14q45WaWBEGfJt6/7QvD5hl5M8xHFKSNHz35qFaLSnZa9SVO196E7m RnGq1vEeoFP6a8Wn5Zzyq+wXDYUfJHOft3MB1MN9RzUSUUXo3o2S/LVFF59wBf9wf8Zh 2uNA1hbTnx2eGyL9WKTxGZcM4HzKxDiZcLzAVet8Oqk+293pKKMjfnFwqXkjdmAhTpgJ 9sY1Yc4UVs/kPaH8FnKRTQJjfwL3Kk0dqM0SZvttU4M6Dh6D0WBcf12W+N62rQdQfANt JUqjRSj7E1LyAOA4ZF3IXBeEp9DF6856kwm8FdUWySId9CSX0jnwIoHzCBQdIL7DRcMd RucQ== X-Gm-Message-State: AO0yUKV0GjquplO6yMAjR+as2GqKE5lmOwttEj6hotGngBrvk9hqNiqR t/SPx8SHnuNZnmCfwLcT2B4JMvfV+kUNepxf2UM= X-Google-Smtp-Source: AK7set/O2zOF0Eaq703LtV0Eck2mcIfZt4f+MvTQ56hwhaKSJtxi6wC+KRR0lHtAlI17pP5pDT60Rw== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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