From patchwork Sat Aug 17 09:46:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767107 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 4E523143723 for ; Sat, 17 Aug 2024 09:46:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723887975; cv=none; b=NIRWDvnuhchNjfuEVg0Yd7EiTwhVrHLVNKPAYsnbVVHQQRvfHh+SGh32bqw/p6k1RxUKHMMxeL12JdJC3fwnKh/0hD+t7U2Zelm/l/EeJonir0LaFazCOkuQsjMuxgUm3F5DtaSg0/0xdHyuuigq+6boI7JddBFMwfF4BUkcFEo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723887975; c=relaxed/simple; bh=pRB6jjAwbq5n3iepo1Uhq/05UYrGiUHreEyKsYxNTp8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EXtwLhMJFZhdheXAqKo/i/Tm/WCvkak0RlmSCJV+WeSvpU8jaIacV5Ofo5b307Jht9j1GM7yxfKEn9QYMIZT1+OBrhm/9M1S/boHPCRQrQef+/pDkyVp6XKSk/F3TBvg+0Z/z6E5D6/RUdmM8fDVG5ZEkGknG2jGbAep80rhqH0= 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=rsI63r6i; arc=none smtp.client-ip=209.85.128.44 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rsI63r6i" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-42817f1eb1fso20096225e9.1 for ; Sat, 17 Aug 2024 02:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723887970; x=1724492770; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8zVDbexPoYK9/xw9F/1lJ7dYaXx4jW1aArgheQ/v7dU=; b=rsI63r6ibiosZNGU/I8kIcBh/zEZ21PNwGo3pKUcgsOGZ88EcFAdfc0qxHmanf4qcH jQYDaif0tkFZ6YCyodUG86CsE/afSzzuSYfbc45jHc8m+apqfJ0TdczCoGPvptbx7xV0 dYGbrNTuoS+gXJY80RNNullY0WxGkipIqOATKwrG/4EPN/1cswjip6k6L79OCBZ/GBq9 fiSJ/HtannoR/Vv6whjL7sW5ymyOObB/uRakIrQTj6XfrKl6MeGX/jQ9DpVKTKDaL9PV UT7y5UZAdKOsrXKG87uxeZgrzVGMnnj5AQWNj6tNwBJ2PAHdamJP18jEiP+sC2xjt2Ks B/ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723887970; x=1724492770; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8zVDbexPoYK9/xw9F/1lJ7dYaXx4jW1aArgheQ/v7dU=; b=OsxfkbPFkcorjUudcexDOqFkugEIrNeZKWdkyjCTni1NUiIQMLdQ/3x5QZX2E+PRHa mvODbHLw5oX9V2X/8YJhoosuiLU18KdUkjYxdNEEDWZUj/QZ0Wy36S1it/lEuXqnHR7v Bx9CgA3WmzQYzcTp+tOJTYhVXuaCalhXz+DpQDNA/OqB/1SsBjb/wnc09vVjaoMtWyW1 Y3Y+v+BByRsPCoqetx8+tUXeLMMdN9dsgXu7jX2QyBfnrMcE12ydBInlcbI3c9uSz/Vw 4I0t8pwGPioi3JrwHN3ClZuVAuwPjtXBGdVkoiasxjoq0vNYPSwYcr/3uC1H9I2eFA4y JGqA== X-Forwarded-Encrypted: i=1; AJvYcCVc/gNQ6P/qJy18oZtv4mbRjBAttm5ezfJtM8DUc9bBcHnZDF0AJ3ssAD6Wf77x9WPC7VoNMB0u54b9aNeBS0UG1sA1pB27KBxeYGWrXw== X-Gm-Message-State: AOJu0YwAHC6UMxFeyHT8iP4sW2n1lOtXibOvhfPlI7CNSxL1aCaBPv9A soFxPk/4hkO/VdOEiQ7GW0VRipqMfMRuHgcxsDSvYg3zPYSFE3nj4Xslrv2AMas= X-Google-Smtp-Source: AGHT+IHSZBCNPge3RyrSlkoKALJwN1ic4HFYxJS+brE6Zk7NO3r6FTp8PvLIn6jN3bvzXNHpgupzRg== X-Received: by 2002:a5d:5102:0:b0:371:7cd1:86ef with SMTP id ffacd0b85a97d-3719464182dmr3810954f8f.22.1723887970354; Sat, 17 Aug 2024 02:46:10 -0700 (PDT) Received: from krzk-bin.. ([178.197.215.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429ded2931asm97641815e9.17.2024.08.17.02.46.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2024 02:46:09 -0700 (PDT) From: Krzysztof Kozlowski To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] dt-bindings: clock: qcom,sc7280-lpasscorecc: add top-level constraints Date: Sat, 17 Aug 2024 11:46:05 +0200 Message-ID: <20240817094605.27185-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240817094605.27185-1-krzysztof.kozlowski@linaro.org> References: <20240817094605.27185-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for reg, clocks and clock-names. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring (Arm) --- Cc: Taniya Das --- .../bindings/clock/qcom,sc7280-lpasscorecc.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml index 5e6737c39897..488d63959424 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml @@ -25,11 +25,17 @@ properties: - qcom,sc7280-lpasscorecc - qcom,sc7280-lpasshm - reg: true + reg: + minItems: 1 + maxItems: 2 - clocks: true + clocks: + minItems: 1 + maxItems: 3 - clock-names: true + clock-names: + minItems: 1 + maxItems: 3 '#clock-cells': const: 1