Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1104900rdb; Fri, 9 Feb 2024 10:18:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFF+H/f9/CVjsiDV3jf75j6Z2fC2xvAwV7nRbm1xsAGla0VCoVo+W5vsMTQl5798r3g0ZqD X-Received: by 2002:a05:620a:4084:b0:785:8c58:e336 with SMTP id f4-20020a05620a408400b007858c58e336mr2966950qko.54.1707502737303; Fri, 09 Feb 2024 10:18:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707502737; cv=pass; d=google.com; s=arc-20160816; b=DITo2DC7ebstmpTncO3Oh2WfgVpRlZc4OtTkBCYTyLp6QFZVqbqXeKMe7mSXVkt3HZ itpf+mXP4RUOJ/UojBmkty+eBvlknonhLkVCjUugLZ4z1HAvcuUt6WkDDwy280lACmZ2 ERHo3XEDFIODi5XeLTuCXLuR8ulFeMyrhIFn5WUX6LVMdw6GkCBQ70fzAaGTqAC+liHX s2j4woKXE9WxR588Z+KJT3jN/RLrnwunUUe4XzCgqOrWj5qzJt8JyWMnve26MTYlSPwN Pt+JfmIg1dwppNCsSmH3qjtlVxD+XJxoGSNMA26241fPpmwxoqSQ2zw4K/9iF+D2fHC7 FP9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qNlMQmwSE98T4yCPWQWMK6fAJhqmgCyt9lYFZQI22KA=; fh=HTQDDzsqzSeiejKbcD6dfFzakRWjTYyhG+eIiRJKCu0=; b=BkNvJETlOzaKsupRy38/YdKNKCpeXIOwWXBzA3gKU++WKPExRvHmwlyKlPsfGJscsh l+Ex+VqW1wl4drbFZf5R9cYGmu6t7x5TfS+aC1jiLTzgTvaGczg9uOZ+ZtUSfy7MGdiX hXREIpj3nin4kpcuZODnDOxFgJQbD6obZsjsuVkb99m8MsLiCx/LMHHjsMpgFBSHIrd4 3OCSdybDQNRi+0v6Mdr650TYO9B+jUueD9ux4CbDBVAVMvUps786ifmAQgv//FFvogZF NF9JgdgSSDOf+SRyureR2Y7M1ddTLNz2Lnly5wAf/QLteD6WEbL8RH9UgkdrsMk+19Ia 3/AA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SUBofVAJ; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-59782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=2; AJvYcCXkIRC15TtqzFR12+EdV0MOv5TbvfrfR/fFhw3l+tD5TGKQg4K0JNfFHJ7xJ8vYl3tmNCgNxzyA7eximjuU7ktE0WaxKQYcv5H+5/ZVaw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id vy3-20020a05620a490300b007859bb25bd8si2546230qkn.174.2024.02.09.10.18.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 10:18:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SUBofVAJ; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-59782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C8F771C242F4 for ; Fri, 9 Feb 2024 18:18:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CC7381AA5; Fri, 9 Feb 2024 18:18:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="SUBofVAJ" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCD9676030; Fri, 9 Feb 2024 18:18:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707502716; cv=none; b=oX/1U8jFqT+P5QbR7L9RBlJJ+gAm0YFNKkacm+wkuW/380UG1QcRb/ygVm40bgNhJPdWtSB4VV5p/x2hrmsmlbEp4eGi/FSWGcUPRRsHklI914xMWSkYe2bvGh7F0x3UFXHvc1im8uSP5q6LgnoDrfWKO7PRE4iaPq4GublY9LA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707502716; c=relaxed/simple; bh=QanVdLZGJsZiEBFc9AV6ugIOyYSeeb2yQCO75yW587Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=klp7R1u6Le1LeJhwXcGqArDOs8XTKSY5QY7US8P47MQXY10KsCUM64EkkirThvMNFpHv3WzB83CleRzu3tIOR6Kj3BWK4sFu2LuONfFI73AsTVr4HxwxSY2Vdqst5f1rfR7Iqin4iM9cPsxtFCCE/Vwf/Ft176cP8KJrofUj8tw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=SUBofVAJ; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707502713; bh=QanVdLZGJsZiEBFc9AV6ugIOyYSeeb2yQCO75yW587Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SUBofVAJYhLIPTU4SWQQMESBw2uF9Wo+TwBi7QQULgFyvr2J0/R7SsYfupbPU7YWc xb+QlBUWXwy1E4xEll3JGh0z0FFe2gICJfPkPDXopEHVkAPSK/BRC2Qj4SfTgI3aNC iL7MRClT6b6LLv4HOzZFXzU5utyFGKy2XS0JuJHxJn42U0Ur8c85PTGyMHLmCgialG cYXPhiL6bUnKtyFhhOfnRqde1ef6wlwqv7Q2cw59ERcIgXootWZXTN0YKX2hwIXMM4 gGZeoxwrN6gjYrIDVOgpclvQClFy1t49DdLtyL0d+kEOnP6s4su/9qmMNsXKZSM6ip 1XsaEAkp4FjSA== Received: from jupiter.universe (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E6AA03780F7F; Fri, 9 Feb 2024 18:18:32 +0000 (UTC) Received: by jupiter.universe (Postfix, from userid 1000) id 8DD1A4800CD; Fri, 9 Feb 2024 19:18:32 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner , Vinod Koul , Kishon Vijay Abraham I , linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Wang , Kever Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v1 01/10] dt-bindings: soc: rockchip: add clock to RK3588 VO grf Date: Fri, 9 Feb 2024 19:17:17 +0100 Message-ID: <20240209181831.104687-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240209181831.104687-1-sebastian.reichel@collabora.com> References: <20240209181831.104687-1-sebastian.reichel@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The RK3588 VO GRF needs a clock. This adds the clock to the allowed properties, makes it mandatory for the RK3588 VO grf and disallows it for any other Rockchip grf. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/soc/rockchip/grf.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml index 9793ea6f0fe6..20bc1f46384c 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml @@ -66,6 +66,9 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 1 + "#address-cells": const: 1 @@ -248,6 +251,22 @@ allOf: unevaluatedProperties: false + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3588-vo-grf + + then: + required: + - clocks + + else: + properties: + clocks: false + + examples: - | #include -- 2.43.0