Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp483829lqh; Fri, 31 May 2024 07:23:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlR1IczTmXZjvFoCjv95Q66Iu6WMuFVo6WbrK5AW/kC89FBHDO43HLx5J9FB1HvK0A/LCJj1wSLr1lZd7nrtZSMbSkCsF2q5rzWd+yvg== X-Google-Smtp-Source: AGHT+IF/N8GkDE4V+wEbV6A4OLBJngxG0HpBjUITlKrWCk03C91YQas3ZST2IIiqlGqXrLJKn9eg X-Received: by 2002:a17:90a:6581:b0:2c1:9e9d:9771 with SMTP id 98e67ed59e1d1-2c1dc56db0cmr1954052a91.6.1717165420163; Fri, 31 May 2024 07:23:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717165420; cv=pass; d=google.com; s=arc-20160816; b=x3nwiI761O6EXmcOtqnxJAca0DDfI0jwG55nF4A9q8HpIcbFzlRj0MJZJEEij8c2sX FU9Dkas+p5/wve8aMPOH8GzUzD83cVaIquXTLgcwFV5OQOSa+jix6U4lY4G3ikxsAtG5 Y5N0yBt4Xd59G5A25/I+M09Ic3IMlF2yPoT4V2XUWHEbkcXCGwYHL5V/Faac0b049GRI N7G9JE4RUfdcb+WegkAImXNUcxMAPprjAuviSfWLMGtOsJxxc08ag5VBKPjz9MORI+gB UhblwgOw+5A+Bpc5n3Xs4BjepviRvYb0B/+zsIrNX/WvFTz7ZfJdytFZp50sPya4pBQ/ /afw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ifHHoOAJfuCZtjnswpV2fZk0gvyupvUNPvgcYygKpcQ=; fh=HAuS0MNK6XSiBdeNOugNkk7b40uiHeK74jterlbWqMw=; b=TGYwuQhYLcJkeHWYKcuEsqfNL68Kt/KsQsuxECnodoaj9cvLHRlcU3su7VptgksWS1 wlatVlVV0/rPeEQ1iOPIpsXOiBaBbTZzM14dcZHmliI3Zsx8HUZCwTVChjHsdBLVtvWy OUnp7FKOVT2/0J0IcUIEoxq7SntmDL9t/I0NhbLOzPJgxvRMMF4Ez7Q7A74HX8PSeMyN 5pcAPT38kn3mA/ioMaxOsftcFp1fqhjGionb/+opPXBVFFBa1BMeER1Iusbms+6SVQBF lLTVuHH3LSmrUWq3ttuqQRZQNJsqg8SM/lmfWCFrilB01cExDDFXkOniOohfxjjwVNC1 H6NA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eeoyGkDX; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-196916-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c282bff9si1724617a91.115.2024.05.31.07.23.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 07:23:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196916-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eeoyGkDX; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-196916-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F137EB2927A for ; Fri, 31 May 2024 13:53:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A17CA161B4D; Fri, 31 May 2024 13:52:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eeoyGkDX" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 C578315B139 for ; Fri, 31 May 2024 13:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163567; cv=none; b=eicp+OOMtuBieb58JUey7YhXboQwIMl+HVeIjYmgCiEZIQgbb/zYFzNe01tl3I8Q3EO8yHqdIddNvxiFBlBWZ/meWh508dOJPjh7PtLgX3kTQTaiKdO3BwkPFzq1gfNScYDAaYS7VohkNsJzSHIrfoh6wk9NPKutRAVV7DyxBpA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163567; c=relaxed/simple; bh=Jj35C2gsmeAKqAGSxKwpsqLfwDT0T6WvwyZo1GypbPQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GMaLDTquqcUy+Ja5aFSxXV4J6ypZS5Dk4yWSkmhKrDKNPSvS5ivRjuoenxvzCSBig5VlvXP5NcMpliWbGYAG10W4zwjXieJscfdxheZrpH3L+yM/eZRQ5dvUYce2dOimemPFaBBkpkr9je7hVJesfKdvG+Igd8l6x70es2Lp50s= 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=eeoyGkDX; arc=none smtp.client-ip=209.85.128.41 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 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4212b4eea2eso8706535e9.2 for ; Fri, 31 May 2024 06:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163563; x=1717768363; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ifHHoOAJfuCZtjnswpV2fZk0gvyupvUNPvgcYygKpcQ=; b=eeoyGkDXJPHkUta7VNGAIWWNVuLd1cnKf9zNyKzG4rm3WRG8VEPBljAQ/Xrg1xWKgs Ske6qPkTQ6xWRudU0Nguaqm+bHW2OZq7xuCGNWu5rlH/a9bUUVW2uqicV/z9zuufwtPk RRtm0kwMN4zQFRpPPMfJgz0QO9ayW4BZd3P6gRbWBRnsSFNbOwzdrjjXpY1UpSe6qoq2 aC2gi5W1JX7U+6T9tzKdSVkEM9rqmOCJFhuqaNjVtbWjR12hJw1ULZaTCsEYTK5RyIeI GT2SsPxd/0HEC92UvgaRoKzS8TcJ4b3Fqo++OmYSZmY0u/iAnYpubDSAav+NWULnV0SP +Fow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163563; x=1717768363; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ifHHoOAJfuCZtjnswpV2fZk0gvyupvUNPvgcYygKpcQ=; b=XtlBUiKZTMdryydOWJia9kwDb5HtWFgskfrFqFfkZvSbT/T46TdGq10uqXeBpfnqqR eO5fnSfp3PMiAkSj297bFsjiPgjEZM+eFhk7BS2PldOxAfS/Yh9apnXeQ9GaYDxwfM0D AQ/ZXdRw69xlVrB2HBrBeAM+fXt+AiDEpH15eAocREkbEpoSeOHRwLRwyNY7Q/th2fyO YOb6WarsEar8EeIaXAJYKtvWO48eqk+LPdBvrtD89PPc+fdq3c0jwHfdA7HYsjp7WAM7 0qSAqvxoqMQlaMsUm5UDS703zE4ccdzYX2A73NuL0kYw9Iqd/v6WqKeHnZBWrBvKnWKy tiAw== X-Forwarded-Encrypted: i=1; AJvYcCXdcQaJWQtE6+a9h6P/vO2YFts0VDwA4eBau4yr/mFjcyXB+72pdTEOlIOuR3IFWK3QV887l8PLP3apRMx7q9oKtSmZZGq9B4lTDxgu X-Gm-Message-State: AOJu0Yy/FZKSXr1Xfv7oHFkbJCkGuaF7nSyiIxu/mtnrEjFWuJ+BOc4t x/ushm/c7/cFCv+3vS3A2+s/G9WGwZcCWIdPQqt/FPklFPT2JIDzfidLKF5saN8= X-Received: by 2002:a05:600c:3d91:b0:421:967:7488 with SMTP id 5b1f17b1804b1-4212e0c499fmr13280115e9.41.1717163563277; Fri, 31 May 2024 06:52:43 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:40 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:19 +0200 Subject: [PATCH 01/16] dt-bindings: clock: qcom,sm8450-videocc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240531-dt-bindings-qcom-gcc-v1-1-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1497; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Jj35C2gsmeAKqAGSxKwpsqLfwDT0T6WvwyZo1GypbPQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYX/U9+dxgxWl6zpA8BmpOtGU9Vuo2Y8343C tsbOJwMD2WJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWFwAKCRDBN2bmhouD 1//gD/9DaxbglP7VG8nH6mLPXXse+ttiRMGhfAt5W6y4leqH/Mf77uZ0r5SrreSTMK04eF+7A1Y vnfcTvTOL//4vY03xcgfhvoKidWHx05qAbEar83KCj2J2vCDh1xvyyEksNOl8LJO9HrrJioLKIl xPp8iXOqe5sE0BCYOuJAXtA4h0yw+orv9LvrQGWYJu24+2TJHEXE+mwnPQRpgDVhE897nCeSBlX p6EYFhBFy7AO6zh4e9IEIvZSnue6lVCX8wX2WGgvfyptiIaYtcvfJiFeboNh1PE/FB6jeZF5z+9 gRGlRNt0FizkJXgG9Rb1Y/3z5g/zeY2QkS2z0MNI5DQHqlXeDh9832RnY4tXfyksx34WAKmdpIP yxLnfpgv0fvN8Vlmi5OxmJFb1zyOdwG/xUty5aOczLEN31+oshly1Zzrp2kd6cWnl9rJkdtCzRt 0Eas3yN02AjwZtFkXlLPe7u0gcpII4+D3J7j9SR/Wm1bn+N9oYwgkHK9VmJDicL26F5WuSOM77M kUC0L13qArdsu1+1MfEJqHd/fck6MHe1XzW0ZHd4ufxFnNwqqy50evJCqWUW7EHSehPP+9namab mia8uS9yhypSiH4UDNle/cyUKZQ/NE+QOQJ0iqAny+Qla//zksmBBjd+e+SNzOliDVFwd36579l /sYdCmp+jgYkjdA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM8450 Video clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sm8450-videocc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml index bad8f019a8d3..74034e3f79b7 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml @@ -21,9 +21,6 @@ properties: - qcom,sm8450-videocc - qcom,sm8550-videocc - reg: - maxItems: 1 - clocks: items: - description: Board XO source @@ -39,26 +36,17 @@ properties: description: A phandle to an OPP node describing required MMCX performance point. - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - required: - compatible - - reg - clocks - power-domains - required-opps - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | -- 2.43.0