Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp55047pxb; Fri, 15 Jan 2021 05:45:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0nlHY5U24HGDn/iSrG7vqIpivFZXeItc49fEsj5tDo1zU3KmLibzprgDgbrc4OuS9ZkjP X-Received: by 2002:a05:6402:3122:: with SMTP id dd2mr983114edb.262.1610718303367; Fri, 15 Jan 2021 05:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610718303; cv=none; d=google.com; s=arc-20160816; b=lm4lFX2MNuAgqzNmwQoyyPgAo/q53fBpdBYPIW016fw0EmjeiqIFsS2g1hWS0Nc63a WtdaQXDtVDWPqAhjVR6sX2Vy0CdglJg+P8avx+zyLaHGQtKRfS1lzO5gHE3wHVnbnUj+ mmUXAzyXqnrOPZ/gP8mX0mPdelUedtZ0Chi45VDOpHfsdBeQ8/C+0pyt57zfHKMA7+m7 5y4ldwZof8iOYUvNcNsHLqintIWGzyqHbBFHgsAMmaGmRRqpNpTqt9qaDDO3ixD42lGL qOVXKCw0LEDVttP34RIyEDq+qO0NHckkJhqc0zJ+gZ0cJuPuUufuYCe12+wufkFGcInO 10fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wj532yWZYS0o7o1BgNfV+51J3eKIr9MV1erMfuZz0p8=; b=M2lydc3WC38HeAfClorhYlYomdpJlXkaMwU5oMPfUTIQJ3+bgHDwKyTwTYzLtGXOmH UwOBlEejh/7Mh2bj5B6x4B1jhtch3V+k6wGKWnvOzu3IIXQNx93QKRMES3xPj1CD+Kya LjtivUgs4FIOHUNK3Cd2gAddy2/1oXNBkHunGndQR+3+XEyNZVpUoje/1Nnq5o62HiFa X9c9Ei+04FZ8FnzuDBXIV4PTS3TO8A2LZjpLW0Jb2cSj7S3nMHq4d7y4SMTefLxdqX9T r8LkafvdMOUJqh24/AxQycqZm08GibxughENMPi8Rj4o2gPhu7/DDr/t80VEgNrUXr5u yisg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jm29pmQl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si2886002edq.125.2021.01.15.05.44.39; Fri, 15 Jan 2021 05:45:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jm29pmQl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731264AbhAONn3 (ORCPT + 99 others); Fri, 15 Jan 2021 08:43:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:45466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727716AbhAONn3 (ORCPT ); Fri, 15 Jan 2021 08:43:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F012323382; Fri, 15 Jan 2021 13:42:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610718168; bh=wj532yWZYS0o7o1BgNfV+51J3eKIr9MV1erMfuZz0p8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jm29pmQliCc9q4xjZOk6DNrUSC1j4Vg2Km3WXfK1DOkoUQmqnBDtYqR3JrwYM3ejI S1pWT7iYPCFQ9dYxAyyhTDbu9JTiGDP/HTlMB2MDsE3u1QsQu0bPI7vZHcuiiby7BZ 56+pHP7UxebAnn/csIRf/tQpt07CVsJosMTMIYliqymj1cqUxQ4cBMaDz1UijDG1RU nsUw0XUi94oKfkRnMtH7aSfmgYIMMu+R1gdhouIzxJblZg3mRoe19DTwwLcaR7qAmF 2qRma9rsMyQx1sUmM3ugPlJVZQEOMM7hV94Jr0Al9wtkG43n9RDAfTlvLk13W+D7vD DJAw5aoPkbjdw== Date: Fri, 15 Jan 2021 13:42:14 +0000 From: Mark Brown To: Timon Baetz Cc: Krzysztof Kozlowski , Marek Szyprowski , Liam Girdwood , Rob Herring , MyungJoo Ham , Chanwoo Choi , Lee Jones , Sebastian Reichel , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: Re: [PATCH v6 2/8] regulator: dt-bindings: Document max8997-pmic nodes Message-ID: <20210115134213.GB4384@sirena.org.uk> References: <20201230205139.1812366-1-timon.baetz@protonmail.com> <20210104181825.GB27043@kozik-lap> <20210104182734.GH5645@sirena.org.uk> <20210104183821.GA29033@kozik-lap> <20210104212449.GJ5645@sirena.org.uk> <20210105165529.GB20401@kozik-lap> <20210106145931.GE4752@sirena.org.uk> <20210108161635.1b9303c8.timon.baetz@protonmail.com> <20210108161653.GA4554@sirena.org.uk> <20210115071914.0407a928.timon.baetz@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <20210115071914.0407a928.timon.baetz@protonmail.com> X-Cookie: Debug is human, de-fix divine. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 15, 2021 at 06:19:28AM +0000, Timon Baetz wrote: > On Fri, 8 Jan 2021 16:16:53 +0000, Mark Brown wrote: > > On Fri, Jan 08, 2021 at 03:16:48PM +0000, Timon Baetz wrote: > > > Muic needs a node to be used with extcon_get_edev_by_phandle(). > > > Charger needs a node to reference a regulator. =20 > > The pattern is to use the parent device's node. > So is extcon going to be a self-reference then? I guess, assuming you even need to look this up via the device tree. > Just for my understanding: I can see sub-nodes for MFD all over the > place. It is still not clear to me why sub-nodes aren't the right > choice in this specific case? They probably aren't the right choice for a lot of the other usages either, there's a great tendency to just encode the specific way that Linux currently handles things into the DT without really thinking about what it means. --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmABm7UACgkQJNaLcl1U h9B6Cwf/Qf3U0S1f0c2IO8s9Lt5WSXX9YyodDDALaTx2Q+FDh7p0U8w7R+T8cu5B 7qxuRPJt1cKrg6+px0vePMoPP1ls8i/GxpmvFq4CQ2SHToa2xQXSVc7Y8xscAMCU fej+U7snogytrmfmOcfavNlujd4DWbomXyRKz58AKcG7x/LNVLNw8PN+5sOrmf0T OxHD/4HsqYl3R6aC1U6e7bl9jXXXnDcMIStad0+BYLxqi4pWStCCpaeIZFX9wl9D 8vijp8OPSb5lrqnUjJfifjBIrcJfKaHaBcVtjZKS8ys0J3wuRL5kZOonxVOuJVfq MfWB+HNd05Rq3eluZuyzJy2X4Gp9hw== =8nOi -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--