Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp649452rdb; Fri, 22 Dec 2023 00:12:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGY0auwMe5S9eKqYhFYWgRnJ5EDVcggqEEiTTwmqcP7V10xbM3Qd50w3xV1Ya+g247qzKVo X-Received: by 2002:a17:906:11a:b0:a23:5b48:40e3 with SMTP id 26-20020a170906011a00b00a235b4840e3mr333641eje.250.1703232741416; Fri, 22 Dec 2023 00:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703232741; cv=none; d=google.com; s=arc-20160816; b=bHMmvb/C5rHGh/i7d2FO0AQW7s/z3aKbn6pgbixA5+HoBgedPUYv2JF32aAc2EKklw Uaj29pm6bdujj7kGmMUmlZkBNOeZ/pLmdbZfQWVJ3qPs8nh5/mQuqZi/RPcybcwYP2eb +YbYidqwQ3TWzCh84w3gtrV4ImuI/ha/lQBwVbsGlsMe6fghCAh7I8oU3ZkslXhhgKf0 eKTRMzp0AvFAjngLp3ScA1wjJ1AndkLeHndflhBSGYiwc9ikG82aloOLsSsB+DIZGgLc 7aAVkEPLJSLsVVuq4Iuj3MnLp1lSxTltx0ATHVVz8O2mlP6gL/Qj72gO6QFHxS0OLfNJ uYjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=l3ulPGHKv/ZPZ4PrF7+MKhogClUDyW/rffu8i5zrlFY=; fh=X4KeYxOJLx3E8BseKdC4OXCBO4n9+dRQ6tzorzzCZwU=; b=t+nngJZHHdSAHUYNAxbRC/WWGiepSWmy+TMJIXqEsghVAuOO61GJdKoyx2oKDh7B3n 0knn4UQdolSu56UPBUQbF01hJQmxlrzfx8kI6LEHAL4uu3mjMoIN5/L3V9mGGKj+4EXg MStyhRzIo8FCdoW1DuNzCKBlkt21LGwTyyzeirFJk6HHNboB5EAfWlBURNlHKBCjsupU 0GyBBNkcoZLfZlr0VKSUMwXbdG6OXT1O62ciZGasCHi08kyCqhD5c8/WbqhxEDNO+Jt1 FjHOnBqUTv/8oRIrDg7WMmtAD0FcecHx6SqJswy7KKYt60JO79TeqIO7SrcDiezsB/KR FUQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Jj/egOss"; spf=pass (google.com: domain of linux-kernel+bounces-9482-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9482-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bg12-20020a170906a04c00b00a235688ab42si1580885ejb.765.2023.12.22.00.12.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 00:12:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9482-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Jj/egOss"; spf=pass (google.com: domain of linux-kernel+bounces-9482-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9482-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 am.mirrors.kernel.org (Postfix) with ESMTPS id F28991F25FFC for ; Fri, 22 Dec 2023 08:12:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55261C8D5; Fri, 22 Dec 2023 08:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Jj/egOss" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 F31DEFBEC for ; Fri, 22 Dec 2023 08:12:07 +0000 (UTC) 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-ej1-f46.google.com with SMTP id a640c23a62f3a-a22f59c6ae6so188916166b.1 for ; Fri, 22 Dec 2023 00:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703232726; x=1703837526; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=l3ulPGHKv/ZPZ4PrF7+MKhogClUDyW/rffu8i5zrlFY=; b=Jj/egOssPeZDNyTAF5XOnd2c38wymmYDBRjZpcUIzTuvLMh5VVnfA+/u1vDiHb3jpu WmT7D3d9yalCa4kKRF6Uwfd0kD14VBIk71kks9n8z6aliWNlShVYKxlOIc/Hj/EvRcEo 4Bg0pQUyYtbiO1rx+61iCYxfeyPLJ7HqPwetmy7ItAo1VO434soxqZuaY+mj/Pznb32t ZX8GlOB+Sby/SiCWhp8HQ2M1KWGZ2n2PXAR9U8jTN1bxrXC97jiLx4qU9jtlCvj9d04V blTUJpIe9YJQz3t3GuqYmXsE02Ub87PpR5+fGxg5cmEwT1O202CnYEjkGgvy0ZvMTbeH E11g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703232726; x=1703837526; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l3ulPGHKv/ZPZ4PrF7+MKhogClUDyW/rffu8i5zrlFY=; b=h/Gy/NLxwcqWCAq/Useh9s9nKgbc/6cUPqZOIctnuzT1RcsXQutjQtvu/9U29ipn5L p0gbugeHAOgWK5bM1CKyXZOxgn/mnLLdrdRb+iRqWXbHzvr8isqsEHUvQ5AMih3OHEgQ 1hmtYvWtxtdTbFizROY0CA3lKewCxefG+fkhKAs7trWQdeRCeQf68GMSi/lIZMG1pFH1 TX8x+4mVltrRmwHF/zpNACTXvbbRLUq2kfvUDMDVNCYYwtZkQFr7brEZ1Ar8leeR62UD a1ffvlkb+/fvpHmh9vilEDlvjf/rLebPsPGZGK37/0DHZkj9WCBE0yQgPPVp7o7qNhah 6ZpA== X-Gm-Message-State: AOJu0YxODPisQ5yhsMdLHTJw7QkbInOHPy6J7/lOHzLP1SUEMECIw7zO +gkLkS8tfTbsooknQ3tas+5VJawd57+whw== X-Received: by 2002:a17:906:4a15:b0:a23:5780:6305 with SMTP id w21-20020a1709064a1500b00a2357806305mr270074eju.216.1703232726357; Fri, 22 Dec 2023 00:12:06 -0800 (PST) Received: from [192.168.0.22] ([78.10.206.178]) by smtp.gmail.com with ESMTPSA id u23-20020a170906109700b00a26af5717e9sm930059eju.42.2023.12.22.00.12.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Dec 2023 00:12:05 -0800 (PST) Message-ID: <26617c83-31b3-4ad9-8a61-0b8271fad41f@linaro.org> Date: Fri, 22 Dec 2023 09:12:04 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Content-Language: en-US To: Bjorn Andersson , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , Catalin Marinas , Will Deacon Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20231220-sa8295p-gpu-v2-0-4763246b72c0@quicinc.com> <20231220-sa8295p-gpu-v2-1-4763246b72c0@quicinc.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlB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MZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231220-sa8295p-gpu-v2-1-4763246b72c0@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22/12/2023 05:39, Bjorn Andersson wrote: > In some designs the SoC's VDD_GFX pads are supplied by an external > regulator, rather than a power-domain. Allow this to be described in the > GPU clock controller binding. > > Signed-off-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/clock/qcom,gpucc.yaml | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml > index f369fa34e00c..c0dd24c9dcb3 100644 > --- a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml > +++ b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml > @@ -53,6 +53,9 @@ properties: > power-domains: > maxItems: 1 > > + vdd-gfx-supply: > + description: Regulator supply for the VDD_GFX pads > + > '#clock-cells': > const: 1 > > @@ -74,6 +77,19 @@ required: > - '#reset-cells' > - '#power-domain-cells' > > +# Allow either power-domains or vdd-gfx-supply, not both > +oneOf: > + - required: > + - power-domains > + - required: > + - vdd-gfx-supply This should be enough, assuming one of them is actually required. The code. See also: https://elixir.bootlin.com/linux/v5.17-rc2/source/Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml#L91 Best regards, Krzysztof