Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2435736pxb; Sun, 17 Oct 2021 15:04:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbFrR2fyjqaneAjK0XdXfDKiX/NEC2RsSVeb8ZYi505YCP0Hc7D2BRjcaBzk5Oph06gemf X-Received: by 2002:a63:1656:: with SMTP id 22mr20264494pgw.20.1634508258300; Sun, 17 Oct 2021 15:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634508258; cv=none; d=google.com; s=arc-20160816; b=pFXZ5+1Ta017/m7feY4X0Y8kpcTtp/uQjDN3x9qTxBFkcL47mOId+9hgfiCugd0sE6 Lg59zF49bLK9ti/31W2o0CepSiGBmTdrdQUty/hpJuNvoz2x2DXFNXGWZEUBCyxTQvvX iWVaAh3X9a8AUjG0GIW0CqXK/lvytLOonknm0RavD9AUed3dGZpW/LKt4GOcFa2wL8Nl +xB4EdJArxj9094qIpI6f7H1zGCNIRAq/E4NEh0LdL9uiIJcxBt27OwJUAjC6m9YPLmq iLW2SKetdeqZ3osAcmQD6yiLgEsKMHGp0nawqVzqvPIweYQBZ9BRxdQI3H2ntsJDbGH6 n14A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=u+xhoM6RAhD0LTnjN3s9BCRtDR1IuGlTYumrXO1nwdo=; b=Z0ajpewLBQhGK6xBzsdWA5DW68dn30fPgPmR0YFX2AypOns2eXW/qqsTWC9u67psaG NCjRA7utylpHI9uZyA4pUZXsNZHlN6f4F3qWLVCKbkEpA/eAqNkNrHKSQyLfMqgTTapF AckaVS0SkyVcYuCsOpOd9cW0JVRhMlt4p+ASPNfV6X+qbgeSnx+LnHjtbHT+fTwyXsml 0ODrHUc/RLad1KwisCxlpKd2fiznSwp5IBHOWALXhpzrJ7nspFpV0t6Zo1ZwGpQWzl5g +w+bslNIxwk6PkwXaCTs6g9PLCEfCkHplJf287BtQULvxCSb9fDGsD7NQqY4Gq79qy7p dfTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I8C5JVBx; 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 x10si18459740pgr.291.2021.10.17.15.03.52; Sun, 17 Oct 2021 15:04:18 -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=I8C5JVBx; 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 S242778AbhJOTm1 (ORCPT + 99 others); Fri, 15 Oct 2021 15:42:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:45598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242770AbhJOTm0 (ORCPT ); Fri, 15 Oct 2021 15:42:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5BD1160FE3; Fri, 15 Oct 2021 19:40:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634326819; bh=u+xhoM6RAhD0LTnjN3s9BCRtDR1IuGlTYumrXO1nwdo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I8C5JVBxLIMWE/EhEVZk9v/EkUi+zzZ30FXPqejrf7kDbbOsjf3sP5YJm10tNocV0 6TCxOlQUndoNvblA6cVrOti8s6FkFy1A+J3uCiPQtHyzR+UrM1g3irrc9F03bHvBYm zQb6C3ffevL+JUgFpg3Da+Bp+hOcXwVQF20Zcsfe1A4XsNEE3BqTjfmCCVISlTYdeM j6zRim/CGMiYwWLNU1iB8/T2JDF/xT42evj0kbvuNq8i5b970hexYhtk0UB7QPT+Pi xfWINqdJ8pIcI/Pnd43+KS+dOnsFSDm49WxbHdoMZwu4nZ3VmW9ZlUTf2+f1d9wKIW 5Qi1gaPy+BgJg== Date: Fri, 15 Oct 2021 20:40:17 +0100 From: Mark Brown To: Hans de Goede Cc: "Rafael J . Wysocki" , Mark Gross , Andy Shevchenko , Daniel Scally , Laurent Pinchart , Mauro Carvalho Chehab , Liam Girdwood , Michael Turquette , Stephen Boyd , Len Brown , linux-acpi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Sakari Ailus , Kate Hsuan , linux-media@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 05/12] regulator: Introduce tps68470-regulator driver Message-ID: References: <20211008162121.6628-1-hdegoede@redhat.com> <20211008162121.6628-6-hdegoede@redhat.com> <843f939a-7e43-bc12-e9fc-582e01129b63@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iEkpgJpTB1rraeDg" Content-Disposition: inline In-Reply-To: <843f939a-7e43-bc12-e9fc-582e01129b63@redhat.com> X-Cookie: 1: No code table for op: ++post Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --iEkpgJpTB1rraeDg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 15, 2021 at 09:27:50PM +0200, Hans de Goede wrote: > On 10/15/21 8:58 PM, Mark Brown wrote: > > I am very confused about why it's in the driver without a DMI quirk > > and/or clear comments about why and saying that this is a terrible > > example to copy. > The DMI quirks live in the ACPI glue code under drivers/platform/x86, > that code instantiates the MFD cell and sets the platform-data > as part of the cell. I can't see how the quirking gets propagated through into the driver and I'd really expect that in a situation like this the platform data would be passed through as platform data from the code doing the quirks, this just looks wrong and it'll go badly wrong if the same part shows up in some other machine. --iEkpgJpTB1rraeDg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFp2SAACgkQJNaLcl1U h9DTqgf+KzNxQBiWaX5ojnno2zQWW7oj8jHN3NWBzoRbDvnnmyqP/mpEJ7Khi8Us ItLg59Zad1q6cvfk6l25iT0X0oijvE2ZYw1hLXxaDBOOXbZFEy38yWqvX89CD9j7 FAQhg8v5WVQSSY/9VIKGDqb0CTuMD10+AKOxNtLOfTRXTDd45Ga8cOiM/fC5w1NE KGMPQmeydx6RMngYcsKVCKaHar5RnZ5puV1EH9zOkjSHJEc0Wu5meL8GJOtNtg5O 0r5gUBw7/j0fen+idSwK0vqpcylhlmIYCJkCFKmnWv5FXb5mHambOwcKLB3c0IAN tyvRObzbCqrfat273nGOReKKq7iIYA== =DILg -----END PGP SIGNATURE----- --iEkpgJpTB1rraeDg--