From patchwork Sun Apr 24 15:03:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12824920 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 245ACC433F5 for ; Sun, 24 Apr 2022 15:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232673AbiDXPGu (ORCPT ); Sun, 24 Apr 2022 11:06:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231228AbiDXPGj (ORCPT ); Sun, 24 Apr 2022 11:06:39 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E9DE1632E5 for ; Sun, 24 Apr 2022 08:03:38 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id a1so10069129edt.3 for ; Sun, 24 Apr 2022 08:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oZgdjt03EFmKkCkALdaRUu9j5orxJYcBeTCfsLBxk8A=; b=e79ORiAutXKpfRKfDI4jXkdPYCMgpBeTvyplaO+1daTM2LEQLNjQDBuki3dPzftEbT GeqbES3KlYcCt9jbS8fdgYO84BMtLoYAFxws1eeKquJru9TKMDP7yrYT9BaLthSRO+Aj P/JOyv/te+KN67fq/EL8gGk11S21wp5KVo/RgFA7vLNXQcUwMZawImHOtms4IqKdPIRC YSYII2ER/jGF0nsTT7f9ba3JDw7PBtP9JfoeOSLC/h/aVBLn1j8e/ntS3A2NKc84EfXx VXWJVqVKKBEb6yeaRcj4ws7cKTsq3dXdOoKXkFfqoYbnzN06V/L4a/UOGfF1WBukjaDr S0CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oZgdjt03EFmKkCkALdaRUu9j5orxJYcBeTCfsLBxk8A=; b=W54ONq0jPGgoypRFwmANCDt4HU6HILYNR7VdMSrZWzpagq2uUySHU91sc38D5RbCyC wh0P/YWcSA7Cb34Szh/soTAH65PXWbf16cDxvMbgm1Jr3x1oLMJXMJLW7najX5bL/aj6 7WScYJXppM21rzuXhKwzAN8lkt6ZwvdLFF3pIfH/i6MD5gaDQrDtSXxuXk1ybFUzFawS r8xG4Xr0nvgR12Bmyq2XYneHfWWu7LJMfvFp5oQfE7Pmqc86sHi29/DAPmAhlznzWT2d FQol4bEoWFIHzcLu16kZlfHqg3LtngGwrALLX1OxYACTqc7j126D+l5QWIjWmPNjMXTQ qNiw== X-Gm-Message-State: AOAM532LXyZgj8i3PuyOkxhVcLth1nliQlNZ4qaYvvNOE0VE81tMOKpD gH480lE4xCf+dq2uEsnIPiR8JA== X-Google-Smtp-Source: ABdhPJytUEtWPCyxY1vXwS1p2kyE6foHlshe66Lm72wo7JRHSm6EBgDpEJrg4kT5X1AqveMjrWjE1Q== X-Received: by 2002:a05:6402:370c:b0:425:a9c4:88c4 with SMTP id ek12-20020a056402370c00b00425a9c488c4mr14454907edb.190.1650812616952; Sun, 24 Apr 2022 08:03:36 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id y23-20020a170906071700b006e8a19cefa6sm2655165ejb.106.2022.04.24.08.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 08:03:36 -0700 (PDT) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Michal Simek , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] dt-bindings: timer: cdns,ttc: drop unneeded minItems Date: Sun, 24 Apr 2022 17:03:31 +0200 Message-Id: <20220424150333.75172-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org There is no need to add minItems when it is equal to maxItems. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar Acked-by: Rob Herring --- Documentation/devicetree/bindings/timer/cdns,ttc.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/cdns,ttc.yaml b/Documentation/devicetree/bindings/timer/cdns,ttc.yaml index c3386076a98c..7d821fd480f6 100644 --- a/Documentation/devicetree/bindings/timer/cdns,ttc.yaml +++ b/Documentation/devicetree/bindings/timer/cdns,ttc.yaml @@ -17,7 +17,6 @@ properties: maxItems: 1 interrupts: - minItems: 3 maxItems: 3 description: | A list of 3 interrupts; one per timer channel. From patchwork Sun Apr 24 15:03:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12824922 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 A9DF5C43217 for ; Sun, 24 Apr 2022 15:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231880AbiDXPHC (ORCPT ); Sun, 24 Apr 2022 11:07:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233053AbiDXPGk (ORCPT ); Sun, 24 Apr 2022 11:06:40 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F4C21632EA for ; Sun, 24 Apr 2022 08:03:39 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id p4so107431edx.0 for ; Sun, 24 Apr 2022 08:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=imdpb9BcNvoBxz8VstNHOahw6NQzvSepwCUsQdb1ePw=; b=tvounvEF2ErW2m4F6PCn/HYtOr4SKC7Beq5VyBvzI7T3mLDE3Ta7w9MxfnvjyBwYDw ljbpr+i+i5wwZIcA3MwHc/PuSBGDz1ffE1lGSJhEegJAFYzC9DOT0x/IQYJb/4hfEjxI pQHqy9CKZnUeVOFrPQFqZD+s1RG8OZkuI9Twi/k1yAPfEjfDF4OC/WKKRSHrTj16IER7 jItDnrqeRPHg/A0RtZfqbgSMNaZfRwNAc6LZaxYB9HVZbw+g5oi/GBnG9FI6RYfNoDK2 OH/MgcYXPLMXdxYuxIcZEdVm4aEZVRegdExm4OLOs7etbOmCqsIBOu4BFuszSfJNiQAh ytzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=imdpb9BcNvoBxz8VstNHOahw6NQzvSepwCUsQdb1ePw=; b=3P8NRVbsJecaoNMs1EiLikIKGOneOwua2NdYXNDiKUPMV00M2lufk7ETI67i7qiC8L dqH+iTDXBxkKKYocV73DMIVlSFz5WEDMuH1qTP1kNTYDOcTivVz1DX7pv30TWLWppm6Z FxUdA3ht9j5jfhlLQcBkQnzu15pG1JjSkK3Yh+1ndVX0X3fcYKv15DDQ9YVdbBq/Bq7m Rs/N8bH2vKdtOpGz5brhE/PV4Cy1la2KKa9Kt8rVcXvD47GSF6jn43c2ErTsB9dABB2q 1PKgzV7TH6UmKoRkqsIptz6lFc4dXaLssNDmNUOoBQRd8ay6Nrz/JQ/5ksd+8QnUzV9v Z45Q== X-Gm-Message-State: AOAM530xqPCsrXF1Lif8j4EPsR29vJZeZBQQr1pmlJnR+cDJcEW6ZQOh Wh6fK7HEqoiuUC+z/hL4GMucLA== X-Google-Smtp-Source: ABdhPJyDavVGTPq3xB1BL4WX5orcU209o/fZzkJ0GEvoCa636xAJdSaGT0IikwvFGtWzvVfTS9B44Q== X-Received: by 2002:a05:6402:50c9:b0:423:e4b1:baac with SMTP id h9-20020a05640250c900b00423e4b1baacmr14728501edb.146.1650812618107; Sun, 24 Apr 2022 08:03:38 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id y23-20020a170906071700b006e8a19cefa6sm2655165ejb.106.2022.04.24.08.03.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 08:03:37 -0700 (PDT) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Michal Simek , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] dt-bindings: timer: samsung,exynos4210-mct: drop unneeded minItems Date: Sun, 24 Apr 2022 17:03:32 +0200 Message-Id: <20220424150333.75172-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220424150333.75172-1-krzysztof.kozlowski@linaro.org> References: <20220424150333.75172-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org There is no need to add minItems when it is equal to maxItems. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring Reviewed-by: Alim Akhtar --- .../devicetree/bindings/timer/samsung,exynos4210-mct.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml index 1584944c7ac4..0e28d9bdb8cb 100644 --- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml +++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml @@ -35,7 +35,6 @@ properties: - const: samsung,exynos4210-mct clocks: - minItems: 2 maxItems: 2 clock-names: From patchwork Sun Apr 24 15:03:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12824921 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 7B8CDC433EF for ; Sun, 24 Apr 2022 15:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231228AbiDXPHB (ORCPT ); Sun, 24 Apr 2022 11:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233081AbiDXPGl (ORCPT ); Sun, 24 Apr 2022 11:06:41 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FAB91632E7 for ; Sun, 24 Apr 2022 08:03:40 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id y21so8823731edo.2 for ; Sun, 24 Apr 2022 08:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jwlK9jjG0EHaUq0duy+gRAUhYpTS7gfP9G9S4f5hT6g=; b=zcZ1bDliQAxh18O9LMACpJmrsgH/tqMAiuZcptCSSx/J/brrF00uoSkAGzVwtq9qIo 6xeA/kNmN5XzMmH47LODWF2RL5QIEs/vG4aqK4akFx0EF/3T5jKs7VQ7IFCsScOhb//N KS2rJamCo/ge16a3Imh0+oMPSEOgykmEXZFCnxhF0nbpKULXRYjdQmA3M8WoUyv4c5x/ +iUWfT+ksF5+ZBLE/47en/8MSOwjecreiD2hgBQrGrQRmI9g1/+WsmcwQVyyF+gTICWz 6+o2HQk+bHTK3CHTd4TlkdrJlaTS+8OeiapR4nlIh4ejdvo5o9k5GE7builpyItYLr8M 5riw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jwlK9jjG0EHaUq0duy+gRAUhYpTS7gfP9G9S4f5hT6g=; b=Vnzdrd2jRyVA+Ti04d/EJK/TQwkmX66fQZxhveodcleu7CA9l+v0CsxovtR86BiYvE dJQ1+7LTi34FE+tP8VHcoMnJFZEE9ZZuv8rtHpSLH1ycmcmnoFY33D4wJs3Mw3FEAONP N+ndnY6fsp3xV+Epf9cTz4mrmUx1aQns7jRMRko/sbmtDIZwVbOR8v0HZF88AXuu+wU5 uHc8+eUqkdbhAa4zBKgzG44PA3f0JzX6X8/+hm7FT59htBjSDCNjfZvRp7Q52rmGO+pX 3a9p9HYpMlxZM2afkAM59rTo9qKba/itxn2RD9O2imWU5ipBmLo5no0FZixdP+sK0iz0 XKOA== X-Gm-Message-State: AOAM531Jq2ShvP7Xwc2AJUjrfsvJvsp0a0tTx8Cg9otw5JulTCm/udmQ 4aiVYRhzkqM+Io1HVr66SAg/Jg== X-Google-Smtp-Source: ABdhPJxNGI1Ojx4plkpT/9SMClX6rw44WPBHwNsLIXfnk89K2IgDc1ZS5RkgQK9gbZs3zSJPwnNQiA== X-Received: by 2002:a05:6402:274b:b0:423:fe73:95a0 with SMTP id z11-20020a056402274b00b00423fe7395a0mr14587786edd.224.1650812619186; Sun, 24 Apr 2022 08:03:39 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id y23-20020a170906071700b006e8a19cefa6sm2655165ejb.106.2022.04.24.08.03.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 08:03:38 -0700 (PDT) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Michal Simek , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] dt-bindings: timer: samsung,exynos4210-mct: define strict clock order Date: Sun, 24 Apr 2022 17:03:33 +0200 Message-Id: <20220424150333.75172-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220424150333.75172-1-krzysztof.kozlowski@linaro.org> References: <20220424150333.75172-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The DTS should always have fixed clock order, even if it comes with clock-names property. Drop the pattern to make the order strict. Existing DTS already match this. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar Acked-by: Rob Herring --- .../devicetree/bindings/timer/samsung,exynos4210-mct.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml index 0e28d9bdb8cb..9c81d00b12e0 100644 --- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml +++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml @@ -39,8 +39,8 @@ properties: clock-names: items: - - pattern: "^(fin_pll|mct)$" - - pattern: "^(fin_pll|mct)$" + - const: fin_pll + - const: mct reg: maxItems: 1