Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1597093rdb; Wed, 24 Jan 2024 23:39:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEe5A8Y6s2bId1gxesBja8XBZydLO3mxq4dYWT89dmj57REIzOB5MDo9591SPEqXPK6Ofus X-Received: by 2002:ac8:5bd0:0:b0:42a:635c:48fe with SMTP id b16-20020ac85bd0000000b0042a635c48femr813436qtb.104.1706168385422; Wed, 24 Jan 2024 23:39:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706168385; cv=pass; d=google.com; s=arc-20160816; b=zS0GpsTreYSHdrhNZ/vFoVI3RADThipt5YRZwAtkyAqNy8RSEp9SNY1DdhaXBLPSo0 ZXYW7UivNQTwnbyrJIF1Fx0SM7H1taGxFTvFTNKcsY5Jc5YLs8ArDKFUeHPCxuF3CFPT 9YbSv0lA3KCiAhsx2x9rDp61J41emv33cnCrOJc4+ttBoeBXN1YBnma6E1slgsl2bsMJ nybP+oBnojRtEbxw87jatSlS4SHrypw/V/1nNmlvPgzIecS9M1j6RW4sgX9JuWHOxTHl jBv2wXhecp+URzs6vBuAjeTgPQPuQ/FpkqS/4O0W8byDLBzISDgpi/xGdP1rCIQ6Ybq/ irmg== ARC-Message-Signature: i=2; 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=hH0jMx6UHZTKBifmk34GWSzSdS+/3EcRnn013oRzjRk=; fh=uHYJbAOuDSYKPH78o9bCqA2QYMqwR7eW/o0r9KzS6B8=; b=hw7z/BaCSsF0Tp+GkSVShxNtPS+Hzg2juvlHU+6uY2HitjL0SK99r6ZXVdw4Ca6AxF WjHO7vi10euOWpvjjjuZntFHWUxKcRBeRt8HI+K5XblXtZKj2kfwoQFpCld47tTsmosU Kj84nA+lfQRS6XVOL8gZvEyQNXjpawVNHgFXyctUThJKfHyDnEihj8I5au8sOx6L0P5Z hLgPaMQPz5Z7srEprY8CzxsCVvS7222rv/nGow2uKG63+WZIYFG5Y3ZCzDD8iDFuScpp RN27mjXd05/bUWNZd4AmAOvcoYGrup+hXv4DFNNP1MXY5dNSq3JORmawrspbB+TIdtUb s56A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fht7J5sm; 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-38085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38085-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 o6-20020a05622a138600b0042a1aa72770si6310395qtk.320.2024.01.24.23.39.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 23:39:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38085-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=Fht7J5sm; 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-38085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38085-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 22E011C2294E for ; Thu, 25 Jan 2024 07:39:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79618134B1; Thu, 25 Jan 2024 07:39:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Fht7J5sm" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 B53A412B9C for ; Thu, 25 Jan 2024 07:39:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706168360; cv=none; b=EJV572yx1ePeyGV2T8kERD4CTlLthYyTGKXDJWArIn41JFBNNDXMAdIa/cVcxzlg1KbUqvuyWcsy4kBywqiJcTXu6xSYRlbJlYjpDllI84VyAZo+sihB5X8GDhw1WiJrOKnaRvfngTuvvsLwY94ICSVQ6TO8TUlUxRok1j9Pw/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706168360; c=relaxed/simple; bh=Mw5vEDQv7u4zVkX/DvrsT1kbpOxxCwaGJtvj/Ec3hEI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FT5tFDdr2iIhY6/K/wSj4UGAjPTeBGfvynQDSXqRdp6taS5Mb0FDzUOWv+aGzaFnDYV9zGG1BB6CNLeqSkn06ppwnTDlZbwU1ieBbvx6WnNTjIXazopj1hS//9W6VAh7DbEiGfWjjvZXIetcoRd9CoTVY/f2Xl9Y6u2rH6f8NTE= 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=Fht7J5sm; arc=none smtp.client-ip=209.85.128.43 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-f43.google.com with SMTP id 5b1f17b1804b1-40eccccfce0so12860755e9.1 for ; Wed, 24 Jan 2024 23:39:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706168357; x=1706773157; 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=hH0jMx6UHZTKBifmk34GWSzSdS+/3EcRnn013oRzjRk=; b=Fht7J5sm9m5XGId5hfOY9kb4IU4dwaNyODFNogIMxqx3jhYoLcH88Z0hUsYjTchQE8 YbNVyFJfXXhtceqmsuVKgykTUl7mABoaL7e5vZSC0FoPAGpD3gXxi/CmNkChAovZYBjq kZKZS4OnKn7EKzLv2vPfAVlz+BfSmZiPXT48CR5EFGxJq4utO+WYw/Tv0tuoVozcHhpg m1xOkuSPUsyCJ6BRXhSVPvs1errala3rqKqTr0GZ4CcDnVPafE8h/0dh3bE54m0UTWiR A+WhuMmmXfBYmlwKUtwTCvkYQFgR3/QMXSXXnnmcJMQGrUPYVwmiKZD5jCCzNlU1OBTH nSaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706168357; x=1706773157; 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=hH0jMx6UHZTKBifmk34GWSzSdS+/3EcRnn013oRzjRk=; b=c/4MtQjwUTXlldscO7jRTKWyTbOwlpckvKyUHCOr3+E5Fegl8dSBDeRA+Fu8PLSzQ5 IdgOHAqDQqpjVtuuVwiGhlHLVmCdjhLvJ7F01+HQ1KBj2LrxMt59vJERWhqurcwLZ/PT czlYyb839s7WbnwCEU5Ijv9VX4bD2TdxUhPYaXjAAEp5VdttNkc/mRJ/AAdEsOYkgRTT 9WW4+HJxLmWBqUIzkCijGbyHW5BrUsje6vJgmUuG9QlFhgJqOnD4riXc+74WgvZkqah3 wd/swblC/0C2bW8Nvw8zI/EjFKfCvv5SnAep1/7xQJfzMc6AibDNCSzz5fr44Ume0KyE GD9Q== X-Gm-Message-State: AOJu0YxY5HrAgxQQ+GW4+muitzAEhbkH2Oyew+mCJgs+fjcwaK0XosTB lssz9znTAaQqXLU053UdWk4Ij0BpOnDuVTBjmtscFLDhyWxorT8MVVLzMpSJP50= X-Received: by 2002:a05:600c:1ca2:b0:40d:60ac:16f1 with SMTP id k34-20020a05600c1ca200b0040d60ac16f1mr244533wms.55.1706168356610; Wed, 24 Jan 2024 23:39:16 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id fk15-20020a05600c0ccf00b0040e9f7dadc6sm1539709wmb.25.2024.01.24.23.39.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Jan 2024 23:39:16 -0800 (PST) Message-ID: Date: Thu, 25 Jan 2024 08:39:15 +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 v3 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Content-Language: en-US To: Bjorn Andersson Cc: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Johan Hovold , 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: <20240123-sa8295p-gpu-v3-0-d5b4474c8f33@quicinc.com> <20240123-sa8295p-gpu-v3-1-d5b4474c8f33@quicinc.com> <20240124212116.GH2936378@hu-bjorande-lv.qualcomm.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/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBM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9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240124212116.GH2936378@hu-bjorande-lv.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/01/2024 22:21, Bjorn Andersson wrote: > On Wed, Jan 24, 2024 at 07:31:34AM +0100, Krzysztof Kozlowski wrote: >> On 24/01/2024 05:25, Bjorn Andersson wrote: >>> +# Allow either power-domains or vdd-gfx-supply, not both >>> +oneOf: >>> + - required: >>> + - power-domains >>> + - required: >>> + - vdd-gfx-supply >>> + - not: >>> + anyOf: >>> + - required: >>> + - power-domains >>> + - required: >>> + - vdd-gfx-supply >> >> I don't fully understand what you want to achieve here. If only "allow >> either", so not a "require either", then simpler: >> >> https://lore.kernel.org/all/20230118163208.GA117919-robh@kernel.org/ >> > > As discussed in v2, power-domains is currently an optional property in > this binding and I'm adding vdd-gfx-supply as an alternative to that. > Then go with Rob's syntax - not:required: Much easier code. Best regards, Krzysztof