Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1922587pxm; Thu, 24 Feb 2022 12:07:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0fn2tSxQnFULeqpe1whFMIKD/siGlPouglJ3pPJfTzDyQZW08DuoZrFnGn/13N7/ZVBaX X-Received: by 2002:a17:906:c315:b0:6b9:6f6c:abc7 with SMTP id s21-20020a170906c31500b006b96f6cabc7mr3871792ejz.522.1645733230609; Thu, 24 Feb 2022 12:07:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645733230; cv=none; d=google.com; s=arc-20160816; b=ljNRpULbcFyo+0dsQgp6/XmaTxatEj0tHXTQ57c7WMveA4tuiovdXdyKt0MOvv3E5Z Q7g84kkCsdw6fgWAynt+cbEa6McBlvmbCn3xb32RnvfEVpwpEggYBknT68k5w29+MwKQ hU8B/dc7OnMHpEAI/F0ePfkXbh6j1xptjPPNB8FbcTNxqPpc4rU7pBhzbUwRWxvzRqfe lULvwRnOUKJpjQ3sbhWPcvqzUdQThqg+w2LQ/APaMzp/C3Uzd6cgzWsx37h2eZF4kbPj N5tNFnXg1SGjQtJ9CM7J9EZjYBX8HT5+I7OE5yAQ4Qc/reh2kQ/81mrqMESxkjWhIzI+ pVeA== 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=Ec0Bf+3ImVeowfauIG+LQ4shCDdLO2GrZ8m++9XFHDg=; b=cuA0QwbNIU2+UEYp4TXOiu1aDMTdN5CRm84WlfZwR2aaQwTiLDGNRrj9OiL0PgTZg/ TeORbpzWtk+DYz3LrNZYQ76G0v0Vhl7BdD6ICo7ZRtiSYTrG1wxLVXL4JskjEO27ieWt KYrAYapXMTdKEgh5lZ2jUwfbmyazROm9VH9j65oYg9c0cJUuL4EcJ0KVjaaIFelaw983 +dlqE25CcOtA/UAkqsnMYo85jNhtuokauzZb5RPKUP7m/cg6uQGFWnjpq0tOB8ORL3VB 3YpeItNa6QROTcN6v7+6QAvbVRW9fQKRwbAAn6MKynQUGVH/99DWITsPLtdkBRa8nfUc 5aEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SRWkDaPV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a1709066d9000b006cd9e5be9c0si206149ejt.867.2022.02.24.12.06.45; Thu, 24 Feb 2022 12:07:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SRWkDaPV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232947AbiBXSkn (ORCPT + 99 others); Thu, 24 Feb 2022 13:40:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232926AbiBXSkk (ORCPT ); Thu, 24 Feb 2022 13:40:40 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9494269AA8; Thu, 24 Feb 2022 10:40:09 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 016E7B828B1; Thu, 24 Feb 2022 18:40:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE7CEC340E9; Thu, 24 Feb 2022 18:39:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645728006; bh=Ec0Bf+3ImVeowfauIG+LQ4shCDdLO2GrZ8m++9XFHDg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SRWkDaPV+RyLUCI4eWa0M3yno60Pp4e0k6vw3vgKSyAF/y7VZ1HE0nnUKFSBnBFSm QZAtJfh29hI6CMJlW0sq+GhTUItDSW/7RJMOOLxbOlxdS5oDbkmxnY6EXRVky5sFrW YP+Nz/nt1cKLxgedwc0rOnqfyNYLYTNjKYDdky969u9lX9kCjsrWxnN6VjvmVdZlnw m5rQ0szPgP/CRSqxWYd9v9dzhD/nAeo/s4PLKwvHi35ovXykrYdkhQVtl30qDe/J2J p+g76hQFSdSFezw/tPMC9zigGmiwWl7DkSpc1zTtQ+hK9/h5efDx02/ZehhLiTLG8i UMrkKKPsWeYWg== Date: Thu, 24 Feb 2022 18:39:56 +0000 From: Mark Brown To: Sakari Ailus Cc: Hans de Goede , =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Greg Kroah-Hartman , "Rafael J . Wysocki" , Wolfram Sang , Peter Rosin , Russell King , Andrew Lunn , Heiner Kallweit , "David S . Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-i2c@vger.kernel.org, netdev@vger.kernel.org, Thomas Petazzoni , Alexandre Belloni Subject: Re: [RFC 00/10] add support for fwnode in i2c mux system and sfp Message-ID: References: <20220221162652.103834-1-clement.leger@bootlin.com> <20220224154040.2633a4e4@fixe.home> <2d3278ef-0126-7b93-319b-543b17bccdc2@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Y/gIMW3QkKDjjhBL" Content-Disposition: inline In-Reply-To: X-Cookie: I smell a wumpus. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Y/gIMW3QkKDjjhBL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 24, 2022 at 08:14:51PM +0200, Sakari Ailus wrote: > On Thu, Feb 24, 2022 at 03:33:12PM +0000, Mark Brown wrote: > > I believe clocks are also potentially problematic for similar reasons > > (ACPI wants to handle those as part of the device level power management > > and/or should have native abstractions for them, and I think we also > > have board file provisions that work well for them and are less error > > prone than translating into an abstract data structure). > Per ACPI spec, what corresponds to clocks and regulators in DT is handled > through power resources. This is generally how things work in ACPI based > systems but there are cases out there where regulators and/or clocks are > exposed to software directly. This concerns e.g. camera sensors and lens > voice coils on some systems while rest of the devices in the system are > powered on and off the usual ACPI way. But note crucially that when these things are controlled by the OS they are enumerated via some custom mechanism that is *not* _DSD properties - the issue is with the firmware interface, not with using the relevant kernel APIs in the client or provider devices. --Y/gIMW3QkKDjjhBL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmIX0PsACgkQJNaLcl1U h9DneQf5AYLBYxh/PMLXZGAePajDGZ4zjdPPUjBbwV2dS3flyapODZg02fvb/brD mTqe70jpHZVpVwNwPOVdRyW6Imu7pPPylGMVE1+p5UUT2BGj4TbnPb9OSPMChCq8 rZTouQwPiRXw0K6sG841rB1I5HCIZC4FJxxFurlu9f7wTZKAvJ4hXiTXNnPhLWhh MkIhvgjTVzgMwrMIyVhnAyeETO7bPv1wUax7Ec6dxph5CrWW3YQNCsVv4esFvxjM mOFWDTMU0Je3KYxNduAKMkk7ryvfg03ugOHYwx+YO9YHjyAGrZOiwS0dONTOQsnL R6/PjcUPqXBfgApIosl7D8wAFx3G9w== =1JLJ -----END PGP SIGNATURE----- --Y/gIMW3QkKDjjhBL--