Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp517854pxv; Wed, 14 Jul 2021 09:07:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBbMVoBYIpcgFpdUtvXtKhZd4y8M6ekkBSTqdV0I4KuBdrGfKNGnuZ8gb0nEr3D4Wx7S65 X-Received: by 2002:a17:906:2a8e:: with SMTP id l14mr3409639eje.321.1626278859549; Wed, 14 Jul 2021 09:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626278859; cv=none; d=google.com; s=arc-20160816; b=WYKrXXABe1nYT2Kdp871Yyqyn9saq0a1FOXf0sx0+50BnD/FqEOjbtGe55FBwIRmDg kay3zVUs/NC65xY0yjWrlAUHFEmFOeysJLFcX1w6BzRELsq55aifz8CEHC63BkBIsroi UY7d4HeFBztmLzsft/J3QGv11xZhEURv2CGIRnIoQw8lT6YvKv4y7GFV2DbWXLdeByv+ aB62JXGBvkDFFPk5Lnt1p3AOhPivovlGelN1TGoKoHq8qc2IjcG9Z90j5dAPWteLFHo1 A8VRsvSxDRPA49AzcHrOsAVuArcztoZimgbNz4sGOIUJvYS2vJQVeTOgsfSlxiFrDRxn mglw== 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=72/oQiQdsT/Cwo5iJX87YvVtTW9vsj6VkU2MnEgEThU=; b=g5EQ3zlWa7+2eJZdUN/9dAdJsZfxI/fpdhxZ3ZBpoRxow8pt3hpdskHNVtRuQvPbpO gXVkq7qfzp23eHYZyj3EIVSvnfrU4HZU/Le40FlElVdGCGpmsaTB79RiuIcUQ8jYIavS t+c4ZrCWnSmk8yJPICrjCjoKKTvsnqWtxmaD1KeSTurm0En8yU1iqBzgrTfXuTf4EHyN I8kLdVOccSds5W3JUhngdwpIEyW+HurD530YCa8uWV7+Kb5bYDTIfD3Qbn6A51jVqp7q jDdHcb4j678kCMqKllb8YkySluNSDRsqzdrEYiQxf/IAfQfjbxe0epbzNvM3s/VKmaTt VQ9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PPDfDuzJ; 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 mc17si3060749ejb.622.2021.07.14.09.07.13; Wed, 14 Jul 2021 09:07:39 -0700 (PDT) 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=PPDfDuzJ; 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 S231697AbhGNQIa (ORCPT + 99 others); Wed, 14 Jul 2021 12:08:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:43984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231260AbhGNQIa (ORCPT ); Wed, 14 Jul 2021 12:08:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0BFB560FF2; Wed, 14 Jul 2021 16:05:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626278738; bh=72/oQiQdsT/Cwo5iJX87YvVtTW9vsj6VkU2MnEgEThU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PPDfDuzJbULpPqRzSkd30cv8qpee9WwAZEfW55Qh3TcbHN9xNXxRF+hMZipYm6XsK fO9pQz7amDQSmYPFLoxGqBqStfk9jLjg0ZV2CVS6CYrKaG/S8NZhZ4v32VtpKPd4Cz lIfTRcRG/EpqSC6ovT0GdSjhJw77bbp2u+cBky1IJJJTZ8c2T72+VHdY0heiLZat6z T/D7OHEXThINNQyxrxOXKPu7098NXvQZ5dFB+MSdrNQ6LQ03Sa1EiIB0UX1xy+idoF MRRt7kvneZC+5uvKl+cbgpoNAfh60P29wRQp6WgcRo9hMQO0woGHoy4PjNPigitgCR 8ZmcxuCL4OG2g== Date: Wed, 14 Jul 2021 17:05:01 +0100 From: Mark Brown To: Andy Shevchenko Cc: Daniel Scally , Linux Kernel Mailing List , Platform Driver , Hans de Goede , Mark Gross , Maximilian Luz , Liam Girdwood , Laurent Pinchart , kieran.bingham@ideasonboard.com Subject: Re: [RFC PATCH 0/2] Add software node support to regulator framework Message-ID: <20210714160501.GC4719@sirena.org.uk> References: <20210712124223.GB4435@sirena.org.uk> <20210712133428.GD4435@sirena.org.uk> <20210712170120.GG4435@sirena.org.uk> <20210713152454.GC4098@sirena.org.uk> <20210713181837.GE4098@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YD3LsXFS42OYHhNZ" Content-Disposition: inline In-Reply-To: X-Cookie: C for yourself. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 13, 2021 at 10:46:29PM +0300, Andy Shevchenko wrote: > On Tue, Jul 13, 2021 at 9:19 PM Mark Brown wrote: > > Like I said in the other mail fwnode is a nice hack for systems that are > > using ACPI but have hardware that's doing something totally outside the > > ACPI model to allow them to reuse work that's been done for DT, it's not > > a universal solution to the lack of appropriate support for describing > > modern systems in ACPI. > In some (I suppose rear) cases it may be used by DT-enabled platforms as well. > I can imagine the case when you have a system in ROM and only what you > can do to change DTB there is either use DT overlays (which seems to > be not working, plenty of gaps there according to a Wiki I saw once) > or do something in the board files. DT overlays are pretty extensively deployed, it's just that there's very few use cases where it's done in the kernel - it tends to be better to do them in either the firmware or a thin wrapper around the kernel so that the kernel never has to see an unfixed DT, and we don't have to try to do fixups super early in the boot on a supposedly generic kernel. The main kernel use cases are things like FPGAs loading a dynamic image and matching DT at runtime which is a whole additional ball of fun. --YD3LsXFS42OYHhNZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmDvCy0ACgkQJNaLcl1U h9DWJQf+ITAL3NEkBDUGUKxXlzZU7IrAMJVdxNeE4V8QLBXZy5os6tWB+dCeQ+cz g03rkbrcMXIjBGbWtyxb+ydDqpn4DUI7+sm0L6vZTQHIgpFZCrTBZj2kKbpbq0La 9Q6cy5pMzf5bCtd93nUj0O7jF6GriGyFq7x78aWS4SWPcQApOIPAmRtELPpaBy2b 3vQIhaBYHQqSYaqPCYw8xTXT/k2GpUEiETBXv4gPO0eL7uKsZN7cmO07f6nWHsm0 k9OPwoLp3CqQ4ZaHQ5foR62G3LlGHa1zELv+KeXzqyJmA5BKvpoTrUQS//riWQ94 bHo5P4GTsQSXbIl5juoJBRHpNkA/OQ== =Z0yY -----END PGP SIGNATURE----- --YD3LsXFS42OYHhNZ--