Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp463567lqh; Fri, 31 May 2024 06:55:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXD9ARWxLenxIWqhwtkz22nEg0ZR1dK8XtMwKL6+0qX+8ipX0e/3lAW0GhTT4m3hhB5w8ytmiQPIzupSoozP201cZvr1GRWLXl82UseXw== X-Google-Smtp-Source: AGHT+IEjt2RZC767f8q5gQfo5dST9P2U0YGH08Kv4CAWaJEV7McbFPfeqzc2o0TEDI8pNKRdgeEM X-Received: by 2002:ac8:7d43:0:b0:43b:1561:6c41 with SMTP id d75a77b69052e-43ff52523camr23368131cf.1.1717163713316; Fri, 31 May 2024 06:55:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717163713; cv=pass; d=google.com; s=arc-20160816; b=gjb8ZeyoBJZfLvg59mnRnb9/aO931OC307PYmrECSzQDZ5LJOez+vfppy6qeWBi0ox S1dAGxX7N6BFiiy/FbXxYAZrpmr4SMIZBu0VFKNCgTWcIACrDKIlx6DBHaYaEuamSpzT IRILBZi+QIHiE8/WdQF+YlqhjnY3JPVJ4we41IZ1xXS81Max9k0CxocyS/GJv9cELdde Lr6vd220MksRfWA5GIhqMsv5gZjW9i3Rgu7tcb2DzNLirU0VS1pLbIXizTSrnFvGad4C CmiYyMfn5Y6PQUgQrhsKSOz34q+PmBeV8iQ1whNPvv3aoZddjXjG0Hfp8QCpYC7szEo4 epxQ== 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=8n/jTL+LmHdAYlGgXlxxyFJOJwKdK3jauSwSYZvCZqE=; fh=YDbrRWAAgfM7O6l+QZGmcIUtZ7FEBBAct+mOyKmugyQ=; b=krESNuN3rNEMRaReJB8bh/YeISuxetZOq9buVUTGnqNHUEN+FgZrFY4fg0WQMhQx7s xRpEWKF9bA3xe5sLofXcGjh4uDFQxCgqqGAGq0aocN3NSK3/9mCS5Is3mEEHg4bI2Irx alWnmOWE14U7cKfwn7WWdUn5u5GQ0TAYISfwSaTs8nSKHU5raGKzuQFEDlenTGnczqBt zUECpjuexdfApPi847FKZWhJLzXc9Dt5wXDUJBoBE2xCdBzlXMzHZuasu81C7uRvNvTp h9YVLIY7toq7AKQ0ez5dMX3tisT/bpFEjc4PgDwYbcvmWKowGpTk13r5KUSqRHTK90yB mKwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wVf3OcQU; 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-196923-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196923-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff2466bc1si21134561cf.390.2024.05.31.06.55.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:55:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196923-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wVf3OcQU; 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-196923-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196923-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EE1F91C2102E for ; Fri, 31 May 2024 13:55:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0C7F17CA03; Fri, 31 May 2024 13:52:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wVf3OcQU" Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 30A7917C7DF for ; Fri, 31 May 2024 13:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163577; cv=none; b=rsi2V2LyUdD7OWOfLfaJWpktVr9fs245/nkkf03VL76mYD5hUrpiLOo7c3sI3S5YUAVN5lVYBNPFG0Ox9IX3t060ncU+bljrlDolQ4GfVJ9AAIGBjB5QV2c/IuEr2VMbyhzSEyedaOTy8G/Ht8rp4SbDSIw4DeU3byVrF+WjV+8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163577; c=relaxed/simple; bh=Vfvm+u4fvg+iw8i2GnUcIDJyAUHsHEkvgi7QuRpdSjI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dr7wArYh9zhxmp+KgKkbDxAXPuNL6YQYwV37wvkVGdeKk//7aJGqHq4ZDHzXnh5gU29+lDRF3SoiBaKz3C7yFBbzdHdtq76asXyW/xlxzzEzwKAQCjgLFffvtruTRb9Atffk/YKHuLfX0YbMq5o5sygkRtVAOcs0Ym5qqCuM3QM= 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=wVf3OcQU; arc=none smtp.client-ip=209.85.208.170 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-lj1-f170.google.com with SMTP id 38308e7fff4ca-2e73359b979so12937741fa.1 for ; Fri, 31 May 2024 06:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163574; x=1717768374; 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=8n/jTL+LmHdAYlGgXlxxyFJOJwKdK3jauSwSYZvCZqE=; b=wVf3OcQUYRE+TRnQchCx7ETaRiUtSNU9TjxiS4YtiD9+OD5NCvP0c6UjIE9/6kuF2+ 4tgvOODoXhIKRit7LGjm1AFtdLWhUX/4NTTNkZG4IumkigTXGOrtnseQ9VHCy2/Ueyfh 5agAU59mfOdNN11x5/06LlnNdWjiItTzMRWqAUb737gGEbjf1kIdYpL2VBmiDsG23uCE aZu0Zf++mJ5U9uTfvMJ+R0PTDFq2xLsn+1liwapX86fZHDRjydb++tFhnS1NvvGzMNF+ I6G0G9uzZeB0nD0yX1aCe3mxDTU2gGsQobJeCiv8YWrvEx3NzR2U7WlX3jU5BMWSV/fP q5/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163574; x=1717768374; 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=8n/jTL+LmHdAYlGgXlxxyFJOJwKdK3jauSwSYZvCZqE=; b=jZfPM0vjxMZTHISUk1m/5DoLVWTeeiw8z66xnTeiC1ILcvKoUK33ZhnUAQtIE3j5Z/ EsWHpUcJOXFnMYlU+U3VFMjGjgnhK54k5TzQ2dHmF4JeSwKkk3Cpx5EN+4cLVGjHeE3k SF0Oaf1lrmTeMxyTzz6xa5C89ulG8l3SYW0hSFJgHvF+re/VdtlnduSCFBn1AXbdkHCv 1wMb6YaSf10ft9+JhWKXy8MEmT2Utx8tDV7opbnYxs/GlRaTnQmmQMGE33JuQ1UsfP4C lrjDwICbkpkG/rQISGBgv8KNOXWGyMZhaOftFk7OgwfATsNs1hLxyXmMFqTdU5YPphju EC9g== X-Forwarded-Encrypted: i=1; AJvYcCXV1sEv5ikh173EmqMfvwpPDDfl02RXn4izmnBsBVBIVo9wvcWd9DElPZ8EX+0w5dWiPt3vKFJBul0V8INJzuLs6iqyWUrgeXT4+Jtv X-Gm-Message-State: AOJu0YwnU+KOnxEZ/6T8aniFNnZeyGuh4TJozP6Nw8RoeVEvW4dEWGKV eu/CtT1T00Ew3Amp0t/3lprJnbdoxbR98qiL3PLaR+8q3LQ/wnxVKdQ939PMACM= X-Received: by 2002:a05:651c:14c:b0:2ea:8125:604 with SMTP id 38308e7fff4ca-2ea950af013mr14357891fa.4.1717163574563; Fri, 31 May 2024 06:52:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:53 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:25 +0200 Subject: [PATCH 07/16] dt-bindings: clock: qcom,gpucc: 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-7-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=1425; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Vfvm+u4fvg+iw8i2GnUcIDJyAUHsHEkvgi7QuRpdSjI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYcOIMbR1GOog8+d9B+GKxE1eUuatlyl6Nbm PJgaEL3R5+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWHAAKCRDBN2bmhouD 1x8OD/4ydcEWWBvDYBh5NQigqFRUX3wKeSwjmVij9WJm0TmBXNusA9xbLXZUJ/kcq92kj7smF3Q H7Sq4vujrzOicY2UwygNYs4RCjieZqWgkN5pRe6nXKRa3jKADVM/Epb5CGfe0IFlD7yS5VquBRY sVBTtxLdnifwOOeqd/Vgd5YpLdWv7+Z6CTIxLU+OwL5QpQNTAif2jmAefxKGJyNd8X0rA7kN72F 3Tv/p7mn3J63LpInmoYaa7uKbT/yhnWJisP2frrnCmVt2yFLcav8YYZYPoU+DcPE6y8bqpwCuVY lm3crh+0JdrJYTvZhY5LK0C7o8SgIaLuGCKhV08wTlP8MStlp1y/quvFi6jCt2Lfxj6JeXnEXuK +PNwMzQecFokEA+GjhZ8pN+etDhdG9X+3/8jlaUXMx+U348aDHRBd6rSgMspW088jVYbcnOzr5K dhEYIvQIxXEe4vp9rRUAAnZ1AKVpA+srSP//BNGHKBkouFg5/in5nzXKx7nPX/5+khumdt8nRzW axBBeRFU5szkq8XmtLZ4y/N3xRIOUgrkk5mYugMuejlKPEXU/w/2khJl0+K6bWdnOVE1mfJ2/QB cX/8T0tn4vleW3LClxbsXJBeBfpDzT6a17Ixj4PUfg40uIZd/y2dwmVfW7PUpGGDzZ/1CwKPSNU N0kaosUF6py2Jsw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SDM845, SM8150 and other GPU clock controllers are 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 --- .../devicetree/bindings/clock/qcom,gpucc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml index f57aceddac6b..0858fd635282 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml @@ -56,25 +56,10 @@ properties: vdd-gfx-supply: description: Regulator supply for the VDD_GFX pads - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' # Require that power-domains and vdd-gfx-supply are not both present @@ -83,7 +68,10 @@ not: - power-domains - vdd-gfx-supply -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | -- 2.43.0