From patchwork Sun Aug 18 17:28:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767555 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58C13C52D7C for ; Sun, 18 Aug 2024 17:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=GNx0581gmw5KmVnKNMArHkHEaJIxEm4/jRsnasy6Iao=; b=B1mezDQbTQJ8XjbzRE9GflOooi FICseH/WsLfTDr+25CKsNPxNSWLWFUaAQtPnOf1bPu8STsmFf4sCtN8SdBcVcmy/M4ougr53ze+wF Schz0mE7rsGzdbQny0TYDApYT0m7ih6/yXAKap7+3vW8+Say7IWT/fdNxUDbqkEEUwDUQ2MbITh5p a19obAQtJ36f7EVXOM9RqPfPY5EKx6RRktrgg0wflcRGvEZ/Dr5ijy1b9jFXt4AvbGKkV/Gw1HSKN vZa+nA9PNzsXL6Ty907ztMmRGrpxD6kKBBpUAlwj6cp0g+M0mqI0PUui39PV/QR11ykPgBlR48J2H T98k20Ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjkb-0000000GtXj-2HIi; Sun, 18 Aug 2024 17:31:33 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjhy-0000000GsZv-1rud for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:28:51 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3718706cf8aso2282606f8f.3 for ; Sun, 18 Aug 2024 10:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002129; x=1724606929; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=GNx0581gmw5KmVnKNMArHkHEaJIxEm4/jRsnasy6Iao=; b=egB0DNQzODhlFX7oPCgacUTVxMSNsOjy4ugsyeatCVcf0l8N8fYrl2QMeHAZuVniZ9 trEzmDiSaPUXZ/x0KazlNlCCMhXbTHvKuCbdkIYKY91zuY61Exo642Gb3tj0I+obTQ88 tHFKO8Dh3g1Irq3vnyUhNRhEffEeXoS4wfhEQqYJUgCxv3fJsiRQ6sKF5FUcv9oNmvXE vyvKXgP3Pi/nfKPsvgl2G++z2bNXwiNseOhz/qpqKPAQLI+xqMntbn1IghVx/KYSiotU PCRrmHcTMyEU7PG+MalT43ynOUHoVWOdjriByGXNaI+mQr4qOlynA794uhcU+pqfwrCq wfZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002129; x=1724606929; 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=GNx0581gmw5KmVnKNMArHkHEaJIxEm4/jRsnasy6Iao=; b=Ob29Dv64rfgBq7K7TnDSBs+hrBlnvp2E+fTAl60Gp1KP2lpsrGAiF2VqBx0NnW0RUS 3v1/hlM9YRmYU3q0vyhBrAdX17CxFhnnQTOcCVng9Z8ve1DGvvWJrW6R6aVpyZKz6YgU bthaoEH0fH7lED4w9D5MhtUcQSSUuJigZxcK3CSUXi7PcisEwNKhUDUp8mQ7TooAGNeU BWQEyHLmpupTXK6PeHHKX8OYtrAscw9sT50nG7dE+O8aYmmjFAC49CQUXoCSwIhv6Rfc jCeGOLL6wOooEf7sQo07gfCr8bZXO9in+0oLE3TwViPKbIeWLrG1R6AV5YBOvRgid3+W Rgng== X-Forwarded-Encrypted: i=1; AJvYcCUmFc0ZKFC4HXCqcQ/s2U8va+jcnoINTCGmClT+JyRB6o1m0f7rRYD4QANnHCc+kfvopekHS+UeCqZlZgmhZwozY8JSocycWtmTuSjr9DdqA9yJnnk= X-Gm-Message-State: AOJu0Yw3nFKVJ4/vlA+gLdH3T/QPAJU+U+DSbuMaaeavGziNLweTCKq1 pWGMHGoTNbg4+IWkQDCgtqHcQWiSsIy+Jk+c+ltAC80+6g4heGYdgGo4ilezVzA= X-Google-Smtp-Source: AGHT+IHhIVY0bWR2O7mz+r0RXXbWCwIx/u27MbcgBTwXx1CRg5LFhEFV+GL/Fw9bSLQnd+XYkgRWkw== X-Received: by 2002:adf:f285:0:b0:371:888d:7aaa with SMTP id ffacd0b85a97d-371946b1ae9mr5217302f8f.49.1724002128655; Sun, 18 Aug 2024 10:28:48 -0700 (PDT) Received: from krzk-bin.. ([178.197.215.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3718983a31csm8518541f8f.17.2024.08.18.10.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:28:48 -0700 (PDT) From: Krzysztof Kozlowski To: Xiaowei Song , Binghui Wang , Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marek Vasut , Yoshihiro Shimoda , Kunihiko Hayashi , Masami Hiramatsu , Geert Uytterhoeven , Magnus Damm , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] dt-bindings: PCI: hisilicon,kirin-pcie: add top-level constraints Date: Sun, 18 Aug 2024 19:28:41 +0200 Message-ID: <20240818172843.121787-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240818_102850_503747_EC66DF67 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 clock-names and reset-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/pci/hisilicon,kirin-pcie.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml b/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml index c9f04999c9cf..e863519f3161 100644 --- a/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml @@ -37,7 +37,8 @@ properties: minItems: 3 maxItems: 4 - clocks: true + clocks: + maxItems: 5 clock-names: items: