Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp52934lqn; Thu, 11 Apr 2024 13:35:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXeCU3Pt6hDhv8IlZpTia7gZFSF1P908MqxeVAu/vrO8hi1nqCakzOH11FqWndKevqrAsc9PjN0KgwDw6d2oK/Kau4mvB7vZLnV6rEkQ== X-Google-Smtp-Source: AGHT+IGaFU7FobHLBa3RkLEs40rIi8RJe8DoLb+g4rGPzhCPEVzMDMxM+qyGRc1Nm10uXMXRN4rj X-Received: by 2002:a05:6870:a40c:b0:22e:dec0:f652 with SMTP id m12-20020a056870a40c00b0022edec0f652mr618536oal.1.1712867720188; Thu, 11 Apr 2024 13:35:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712867720; cv=pass; d=google.com; s=arc-20160816; b=BtCvl9akzq7b58LBj80CUZa9NvI1y1O7gXo55WEfsAx2dTtD9MEJ43lRc5xM6aAK/n SGLsrEGc3BPv+6HjtvYBGsxEJFbGeI7Jhmx7Gb048IoiTOrFssTIwnqhZfFXRL2Z9ci4 WDfwPVeHpsHMqP5Ovx+Vo1XmQhac5MyHlQsDJAxk3RRfLCgx7JbsfVfDwCsEJWW/cUvl pDnTjKc2XlsGx+pTEr/e8eZ8uJ9X/nBA2bbMgeZNQ378QneTBh2gHcwnkKWu4XJJuu2W krFfI8zzjV2G90GCcm3qXGIQxtNj2+I8jES0QjX6RB/mIau8Fvks32R54PKDVM4YlYmj jrdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jnVkVi9PCVLQ2a4WdlMXHYl3KUjY5EPaBz9jWbvlviA=; fh=mbRDmVWF5upbo5U9hdNhIW5gSacWusR4Y1C4T9b+kZM=; b=ywtUXU4/CyooRlVj94hW9ZNA2p34vS/vZ5FKfm3bZSwMnBxbTeGLJyHtTAviJJDgRb hcPS/m9BTb+emy6H6JMtP+WoZpjoL5uS3cMPoCIk8fbnAmnFsiMwkV7V/NTYZ1dz3KSF MPGSt1HQ/ZS3K/fbx46hdg4XCRpC9SpJ7g3PfoMXHnMF3mVN2U5VUFDRoqioiKZjGHXe K6cjEGJleL0+H8Mo+V0fqRUTFEv1QXUdioeK5vAJzozlMPQ2e/W82HrXkQPvPVb7Tmst hKlT7hoIZlYmr4N65f+kxdyuKpQDpEcI5Zn7HogDD7MoZY2jhI6aAaVOLZIWfnF9lQIJ gnZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Knz3FE+h; 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-141564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141564-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. [147.75.48.161]) by mx.google.com with ESMTPS id dw15-20020a056a00368f00b006ead793ff20si1967580pfb.167.2024.04.11.13.35.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 13:35:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Knz3FE+h; 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-141564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141564-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 D7A56B25FAE for ; Thu, 11 Apr 2024 20:17:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAC07182B1; Thu, 11 Apr 2024 20:17:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Knz3FE+h" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 5447117BCF for ; Thu, 11 Apr 2024 20:17:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712866660; cv=none; b=skfNkH9rE3UBsmPA1qe+EiL385zi2DOd5vj6xSx4stYyGdhy82s7xwZRvA5SLNAXMtx7NUWsW/yU79ZVU0pHoobbh4ggbRPTSv0iyM2eabVcCYHSJxd1s/uNGKQn4Lt4dYSt86sz16mo3xG5bGKk5eaomVLFeLOdRxTLptsWbxQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712866660; c=relaxed/simple; bh=CCSNMZUxTrpa3dpyGwuD+xpGXVDYKUY8cALIjx+vkrw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=I4UQ7ktJmsf2900Up78WzDpg0nJVyWcFsTmTmqfOkDW3F+s7GZw8CmDtXzexoObbHQ1Xo4AXbtJBT3NZJRSs5gH3h8XSP7pMQWK05acr93+5X1x1FRisoFlaCGvQ4T0SnX3HXthFQrQh/QrW+crv9DhWDOsaVXFqYfOUorulT0s= 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=Knz3FE+h; arc=none smtp.client-ip=209.85.167.54 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-lf1-f54.google.com with SMTP id 2adb3069b0e04-516b6e75dc3so277532e87.3 for ; Thu, 11 Apr 2024 13:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712866656; x=1713471456; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=jnVkVi9PCVLQ2a4WdlMXHYl3KUjY5EPaBz9jWbvlviA=; b=Knz3FE+h116Jw56r8DRB5MhfbTQPpKuJ3aOu/rh9BozCqCRQbUtZhiG0aJvWulQNYI tDL1PrY0SS9nWsENFLzkiEIlIxEEA80z8l/MP/SJVGmPpokKywCpyEbikGjPo/DBTHxl UsG0yIF+0YDRdrjA9/P1zMEElLADiOX3WerCML/Cyf5XUsV4hY9NSS4jAB/lMItID6+j 8cAMzSbJrQBGWZkATr//ZvJZiN3FbDkR9gK15Sqq+sSk0Dyy4MfJUQOnurLq68bf+tdY jRt3fL71IhTf+h8YRn2/kBNYRwfAXYzyek6A8XzVDEDsAkK/joo5oYx00Ze+qNgd2y+n D7Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712866656; x=1713471456; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jnVkVi9PCVLQ2a4WdlMXHYl3KUjY5EPaBz9jWbvlviA=; b=Gc8IOMe7lswbE2FkQZd5OPx8eFHwuljwTBr0VxX6lZ8VsAewlPZ7WGvt0HvybMnj5I an7qS2FvBOIUnDurOwgoOoCFFY8JwMy55Q7kPDSSsJIRSHnHI0j5067+AwVMVFnWjT3W 3wOpS/jMo14SC2izdinag9chQRblKGiaZiMeLYXDKWypayQNTFnkHJQoycXb3pYTKKkE 8hkrHZ3Es/Wh6I43vtdy1PdPLMfP4o1GCvTyUd+nC9q0c7wYHOWigvAtg5hDmqUe+WN8 wwuwn/4XPXqYkZgGo37oBIc9pIZwv+SvumahOhSAGE7u4pz3/24Yu0FuST1fjFieiff8 DMTA== X-Forwarded-Encrypted: i=1; AJvYcCViynS578s7zpuh5e1QmlTuagcbf18l/fA2mnk8+8bhqPY2LpnAbGXNLlJ0pJL195ScmR2/b+PNGvk6N4hpFMpI/+0dk716NcX2H+wB X-Gm-Message-State: AOJu0YwGtJ/vHaxrtfL/u+g92Y6JYXVp2jr/jyXD8QjOe1y7CRojEuKd 8sHqLIhdWxVGhp05b9fCHnpUJ9Hy6oBUUX23R8OsW7IWwZxGa/6GdNsGCzlthDour55UdUuqRI0 K X-Received: by 2002:ac2:5982:0:b0:516:d692:5e0b with SMTP id w2-20020ac25982000000b00516d6925e0bmr374592lfn.54.1712866656444; Thu, 11 Apr 2024 13:17:36 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id u23-20020a196a17000000b00515a52e362fsm293917lfu.189.2024.04.11.13.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 13:17:36 -0700 (PDT) Date: Thu, 11 Apr 2024 23:17:34 +0300 From: Dmitry Baryshkov To: Krzysztof Kozlowski Cc: =?utf-8?Q?Ond=C5=99ej?= Jirman , Pavel Machek , phone-devel@vger.kernel.org, kernel list , fiona.klute@gmx.de, martijn@brixit.nl, samuel@sholland.org, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org Subject: Re: [PATCHv3 1/2] dt-bindings: usb: typec: anx7688: start a binding document Message-ID: References: <7976e254-ed1e-406d-870b-1ecdc4b1e23c@linaro.org> <1502383c-9caf-4362-8bd6-ed719a304f08@linaro.org> <97f2d38d-c863-4c76-91f1-52cd250759d7@linaro.org> <025d268f-96d0-49fa-9a67-f80ab81ed102@linaro.org> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <025d268f-96d0-49fa-9a67-f80ab81ed102@linaro.org> On Thu, Apr 11, 2024 at 09:59:35PM +0200, Krzysztof Kozlowski wrote: > On 10/04/2024 04:20, Ondřej Jirman wrote: > > On Mon, Apr 08, 2024 at 10:12:30PM GMT, Krzysztof Kozlowski wrote: > >> On 08/04/2024 17:17, Ondřej Jirman wrote: > >>> > >>> Now for things to not fail during suspend/resume based on PM callbacks > >>> invocation order, anx7688 driver needs to enable this regulator too, as long > >>> as it needs it. > >> > >> No, the I2C bus driver needs to manage it. Not one individual I2C > >> device. Again, why anx7688 is specific? If you next phone has anx8867, > >> using different driver, you also add there i2c-supply? And if it is > >> nxp,ptn5100 as well? > > > > Yes, that could work, if I2C core would manage this. > > Either I don't understand about which I2C regulator you speak or this is > not I2C core regulator. This is a regulator to be managed by the I2C > controller, not by I2C core. If it is a supply that pulls up the SDA/SCL lines, then it is generic enough to be handled by the core. For example, on Qualcomm platforms CCI lines also usually have external supply as a pull-up. -- With best wishes Dmitry