Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1066610rdb; Sun, 7 Jan 2024 01:57:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgk+no28+2WI77cxYVGa0VeF5k6on3RhSUqOvuCMsBvXyoKqFXXzT4FvO01dE7KGcNyYkS X-Received: by 2002:a92:ca4e:0:b0:360:7db6:bb97 with SMTP id q14-20020a92ca4e000000b003607db6bb97mr3738837ilo.96.1704621423574; Sun, 07 Jan 2024 01:57:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704621423; cv=none; d=google.com; s=arc-20160816; b=cSP9hRaMe9b/BYiBPB9gLYQkX2Ax4XgVlcM71sFMcLkAzTRYD4L7hW3K/mztP64iiM eMnj/wYLIRWr4kMEh6trPYanT436aGmONBn/JbpN2ffDKhjiyso5lqMoSh3S9uXURpuZ Aw2TD9a8HBSOKzx8/TRX7CT+PcKeJz0kwof3rxj2kEQt/L4Bjy9Qs49XIoqXovR0bAr9 HfkZvRoPh+mbzurdYL/mBpf3hAVFsIFEbicaL5j+3KQKB0DLMaYazaMirym/gHGvGQ0G +sQs3tkH1/4MpxFPQubqI2QCjKLvtIWshYk2azpjeGmnTdO7mbOeZSXHSWFaCQLRXuQH kfqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=q+5JaUxNv9hPVABXEfoWXdhZ6H5sXzewgbughZ6jl7Y=; fh=fLexIqJV1YTw/jxrsLkDFN2FrvMq84akJ++XgaMNNxM=; b=QxUWt3ORX3ONl1uvemtSDwu5O7jZdp5jp7f9u6TZRLxI+esYGV2oTlHlExp4Y+h6lt mUxxFMTAkjwOx8TzqWkC4P2LMA6Z7MVoVOSt9xAWNqY2wQgUmTp9S01GfTksgdTcUQ7I YIi8pMFoOcM9JsRtLxBEu0lSwVl/tvRory92EjQ/1b5LURRZwRtg/ulr14lQ4aKIScNG Nl6Vrmfy28pEuxgJO+8NUYL/FdwERxnYNL7MaDc3/rrS4lw1rTye81mCQNIcjHWh30ba EHCDmQFpX2tZPxc/49stMEJy74aYoNe7wKe793YoQFtlNXE/y8x1aD6vKTMlTwjK8ydT iMgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=JMajUtT4; spf=pass (google.com: domain of linux-kernel+bounces-18827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v10-20020a170902b7ca00b001d366f8cfe3si4272164plz.52.2024.01.07.01.57.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 01:57:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=JMajUtT4; spf=pass (google.com: domain of linux-kernel+bounces-18827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3B69D2827B2 for ; Sun, 7 Jan 2024 09:57:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E615C12B8F; Sun, 7 Jan 2024 09:56:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gimli.ms.mff.cuni.cz header.i=@gimli.ms.mff.cuni.cz header.b="JMajUtT4" X-Original-To: linux-kernel@vger.kernel.org Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) (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 78DF712B7A; Sun, 7 Jan 2024 09:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gimli.ms.mff.cuni.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gimli.ms.mff.cuni.cz Received: from gimli.ms.mff.cuni.cz (gimli.ms.mff.cuni.cz [195.113.20.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by nikam.ms.mff.cuni.cz (Postfix) with ESMTPS id D480728295E; Sun, 7 Jan 2024 10:48:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1704620933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q+5JaUxNv9hPVABXEfoWXdhZ6H5sXzewgbughZ6jl7Y=; b=JMajUtT4JlplmBkg7Xu9tMhjPmyV0a4XidTi0FksOylppM3T1ol4szvV5SCzEdt1EGB0/s 84nGrwN4EZ+zgGl0lRlBZBjuLtxcyjEVyk/sw1qLYrhQOLfnfE5MFZ1FSykXaXbF6ueDXP L4YktUzZ6rx9TbMVoMOWlklMFvRZtQw= Received: from localhost (koleje-wifi-0044.koleje.cuni.cz [78.128.191.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: karelb) by gimli.ms.mff.cuni.cz (Postfix) with ESMTPSA id AF2A7457743; Sun, 7 Jan 2024 10:48:53 +0100 (CET) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 07 Jan 2024 10:49:20 +0100 Message-Id: Cc: "Karel Balej" , "Lee Jones" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Liam Girdwood" , , , =?utf-8?q?Duje_Mihanovi=C4=87?= , <~postmarketos/upstreaming@lists.sr.ht>, Subject: Re: [RFC PATCH 4/5] regulator: add 88pm88x regulators driver To: "Mark Brown" From: "Karel Balej" References: <20231228100208.2932-1-karelb@gimli.ms.mff.cuni.cz> <20231228100208.2932-5-karelb@gimli.ms.mff.cuni.cz> <008ee9d6-6259-43df-9af3-2dc9877cfe94@sirena.org.uk> In-Reply-To: <008ee9d6-6259-43df-9af3-2dc9877cfe94@sirena.org.uk> Mark, On Fri Jan 5, 2024 at 4:18 PM CET, Mark Brown wrote: > On Thu, Dec 28, 2023 at 10:39:13AM +0100, Karel Balej wrote: > > > @@ -68,6 +68,21 @@ static struct mfd_cell pm886_devs[] =3D { > > .num_resources =3D ARRAY_SIZE(pm88x_onkey_resources), > > .resources =3D pm88x_onkey_resources, > > }, > > + { > > + .name =3D "88pm88x-regulator", > > + .id =3D PM88X_REGULATOR_ID_LDO2, > > + .of_compatible =3D "marvell,88pm88x-regulator", > > + }, > > Why are we adding an of_compatible here? It's redundant, the MFD split > is a feature of Linux internals not of the hardware, and the existing > 88pm8xx MFD doesn't use them. in a feedback to my MFD series, Rob Herring pointed out that there is no need to have a devicetree node for a subdevice if it only contains "compatible" as the MFD driver can instantiate subdevices itself. I understood that this is what he was referring to, but now I suspect that it is sufficient for the mfd_cell.name to be set to the subdevice driver name for this - is that correct? Thank you, K. B.