Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp217834rdb; Thu, 25 Jan 2024 13:00:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+r5OzkBZONFTvjiEsIMm9B95b0N1VlkQAn1RbB68m0ZtMB0lfGf7IYhmjoDHsGeUr3VrB X-Received: by 2002:a05:6808:30a0:b0:3bd:c67a:3156 with SMTP id bl32-20020a05680830a000b003bdc67a3156mr383985oib.79.1706216458816; Thu, 25 Jan 2024 13:00:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706216458; cv=pass; d=google.com; s=arc-20160816; b=X0BND6mFNWZFH0PbszSTTTLTVqKyGKBARP4QMjCCNC9qb1Lx2Bhiv1Fl2sfQhuDtPB Pqh3nhaH5U082fmQQHrFgNXMFmlRB32DsRegle3oWndBGBz3AmMxptQYMax/d/drKHGg sm2Zbgpy8Cn5gkUJ/aZmYbJZCn95R+W/A1TkC2QvsRww7p+f6HZuL3UQwn4+3n0kS5gw NaWEfqLrKdv9Cvl5EazbyLpIljLFXPVVCJ3E/ze3qFIQoIRQimSGWPKKK5Q4+yRIcPDa wTuE4WgBRiCy6uw8beXo61FAExE9CmmTNtJ6lOjzmflcvpq44h3HCjRGHkxKFWf2FjxP bRig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qYbd+OgO9VT2uIIAAIIiBiDYaYXBdYYPdxEdS1JCPeI=; fh=+ZwjMXXFSBHzPRWJg3w4I89D7ToKasoHVQqqWy6mSiE=; b=tqg/1HRNxUKQWtHwuFTJlDt7HnOvugnI59lvw/c2Q3Tcfl9yW+N2Ti8uozuvkQpSjY 9bYRj7BKe5cfQqjajaDXc3jrPriJJ3SHR0KPRIMlEUw4eXmdY+Vc9CE6PV5CUlgIRHnS SsVjh5NZTrR/zPJzcK8NYhqqx7AyXyFS5BDISd6A2oPkEBKF4TksvWLnqb9KQQKFlmAX gjqPB2hZQAe83USBSfxiKJDcyXHnNBLAuhnpfuRNpyRRsIhMxDJVYqUFf4OUiiySQQdP sAf+k43HtQk/CU0CosbkszdJZx/cE6soE99oAqht7d7BSKw4FkIJ4i24RP5ICoYUXdmv s2kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="B/GIJejZ"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-39272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w12-20020a05620a0e8c00b00783bdb3b74esi2040091qkm.275.2024.01.25.13.00.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 13:00:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39272-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=@quicinc.com header.s=qcppdkim1 header.b="B/GIJejZ"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-39272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 5080B1C24872 for ; Thu, 25 Jan 2024 21:00:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1255513A241; Thu, 25 Jan 2024 21:00:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="B/GIJejZ" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 44FA31386B5; Thu, 25 Jan 2024 21:00:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706216441; cv=none; b=X15WIUW2wd3033tIAtaIz+0byAZZDVidKG0Vfkiqpy3Anp4rpZuLD0P0GTMz3WWbavZ+IJB04vCjFwlGowblH79ntDWPJMf97OaW78ZBsldVZ9mE5KX2InqZ3160CIaAAtEgI3B/K+KoeIBckjhhXFUAZiZXFKzR8SGb9HWXB24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706216441; c=relaxed/simple; bh=ok+32FtmVclV0n6TpLijrlAAhb9UWUJRHcgWWrOsCho=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HtggdpC5YK330t2ygwlMuDt+/IWA7Vb30DXSSRLzB5N0iE1GuSMckyM73VrFxqE8tbB34q7p1aj8xpSydetBFJhxIqcdrNib+YPSgaOXfH/CgvVJWAxZTrrrSAL7tGyZHp2OCZagIyO1Ne228hPKMounXenlEAqqjhhr/cE2B0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=B/GIJejZ; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40PITWOx010339; Thu, 25 Jan 2024 21:00:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=qcppdkim1; bh=qYbd+OgO9VT2uIIAAIIiB iDYaYXBdYYPdxEdS1JCPeI=; b=B/GIJejZ46j9qkZmmsAhjANbwmtB4voZO09Ua Vood/zrUeUC+TRVbih2Vuu636SrX6xrLvbMTu+o/V9wWjr83VmMhk/ItDf2z+3Dl kHNSwjDd18NTg14qIH2u/n4hUxJtlQHHSP7X3fiTAg7HA6N8RoRLHNY32D208tx9 vNyESANezegWQSbZSotpAG+Z/upV2p/ZNO5PKEuNiKMnK/LOLUnN9A1zi+n83cR5 +hFRaxGnc8pjtE2otnyUUz3CJwK7PlgmVM/o2rLvEVtSbfjrP/GRSaOQKe2+A52d SYKmzB6llcv9S4SxCx6ABpKjQ6N+8Jzqx8e2jkssdZJpCDKmw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vun6w1tfa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Jan 2024 21:00:18 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40PL0HWD022504 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Jan 2024 21:00:17 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 25 Jan 2024 13:00:16 -0800 Date: Thu, 25 Jan 2024 13:00:15 -0800 From: Bjorn Andersson To: Krzysztof Kozlowski CC: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Johan Hovold , , , , , , Subject: Re: [PATCH v3 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Message-ID: <20240125210015.GL2936378@hu-bjorande-lv.qualcomm.com> References: <20240123-sa8295p-gpu-v3-0-d5b4474c8f33@quicinc.com> <20240123-sa8295p-gpu-v3-1-d5b4474c8f33@quicinc.com> <20240124212116.GH2936378@hu-bjorande-lv.qualcomm.com> 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="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: T61nsVoCgfHh9mUrWbMo-vwlSjlVLmgd X-Proofpoint-ORIG-GUID: T61nsVoCgfHh9mUrWbMo-vwlSjlVLmgd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-25_13,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=530 lowpriorityscore=0 adultscore=0 spamscore=0 priorityscore=1501 mlxscore=0 bulkscore=0 phishscore=0 impostorscore=0 malwarescore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401250150 On Thu, Jan 25, 2024 at 08:39:15AM +0100, Krzysztof Kozlowski wrote: > 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. > I looked at it, but was not able to understand that it expressed my desired result. Now I do, and I agree with you, so will update it. Thanks, Bjorn