Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1295511pxb; Sun, 17 Jan 2021 03:58:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIZG3dywALXYPlTBIRWg/Snsrojg6MvEJ8F7ZGuCxrt6JkBEkAwWLs2UzZWMfmCd4qQRY8 X-Received: by 2002:aa7:c44b:: with SMTP id n11mr15437097edr.216.1610884685590; Sun, 17 Jan 2021 03:58:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610884685; cv=none; d=google.com; s=arc-20160816; b=Vu7OKiQ4IwzA3zO7e0QOpraDCYYwgxxp82ZEs6QXpc7treN7nYeBnkBBJ68VRoD9w0 2/oK3hNhtZhNV7YLexPGtRmFR15TuZER0JkYPhr7/8v3JFzJx6vrfrUjTgpXMPo9HpJM uBTY6Nf1SO1zrZLuvsYhG5vnJ0WcbNmrnNt3MkN3453lOjmeFU/skmDT4aKLBn42P0iW pFSPaBL7Yv9TyJazPhyjALxCQVwvbA0RgLX4xpNolLyXSQ8getfIMtz3JDp+F/6Hj3Ly Q4g2PwqWyWm/yempE9dEUvBIFuN/xIFX6wO/PlzjO8KDL6sep8rjmE9hKGdHvP4z7plk ikMg== 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=P/l7DcbXXThfMa8Bgtb8IcRN7BkhTfOynj6nvXtxxVg=; b=ufsp8WBGMdsjBOp9CYOWUhXYpMg7wCBBSYP3y7HAB3HGTuCe+y7xTHC7zmAI453Ir+ Cx9hqPSfZt8QYXb1OKxJh3VLNArx/n1wEx9DfNyeAO4GY/GUQAAY7rgB4nPiCDMRQHqb ZKHCE9GS6s8m43DALJ5rjmrqfW09KnXWuAADxGNtO/6OvPtsAODx/eeQ8h9NThnc74Jr a3mgnWHRWj6SRGB1SuZGSRZ9pcJAXvvQoHC1F4oRXDqgXrsSWFfB4BA7CwKqS2nQ238T 1ToVJhZm52BLbRzvgc6dcvTGfB5uyU0tXPmzhNTv8wSkHU5LcrgI+oz/0ZMPGDYjtsax L8+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uRE9y7p9; 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 q4si1580062ejr.478.2021.01.17.03.57.42; Sun, 17 Jan 2021 03:58:05 -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=uRE9y7p9; 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 S1728726AbhAQLzO (ORCPT + 99 others); Sun, 17 Jan 2021 06:55:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:38366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728131AbhAQLzK (ORCPT ); Sun, 17 Jan 2021 06:55:10 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 456F2208A9; Sun, 17 Jan 2021 11:54:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610884470; bh=P/l7DcbXXThfMa8Bgtb8IcRN7BkhTfOynj6nvXtxxVg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uRE9y7p9aWuxvDv6xRwThTLdPejk77WTQspD+ac760kTW77HcjPK2xjM44wSnJS6g YUKPcln8Ei9Aexngj5eejX/yU/o7kuRJ0YeymgggMh+dDXNSdDZrQdzooTAgnkQ9Sn gdna3qyyEHCiyd32dcP7Uvj9cfs7DeLhoT7kV3SiIm1aA165jm51ub5h7InkpHjy3o JeJ0i6kPNDEabg31Clma4wr2Suledk4AgDmacuA6AvbVNYbL8o3b+Vm0UKekxhFeNu rwbxnOCqMTrJ4y/5gccj9bvkj7wUP2s5ammfdcxNEsZVMZmpzoV9f/YxWkblL2J8in DcE11TBJlb7lg== Date: Sun, 17 Jan 2021 12:54:26 +0100 From: Wolfram Sang To: Evan Green Cc: Peter Rosin , Andy Shevchenko , Randy Dunlap , Peter Korsgaard , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH v3 2/2] i2c: i2c-mux-gpio: Enable this driver in ACPI land Message-ID: <20210117115426.GH1983@ninjato> References: <20201118234025.376412-1-evgreen@chromium.org> <20201118153951.RESEND.v3.2.Idef164c23d326f5e5edecfc5d3eb2a68fcf18be1@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7J16OGEJ/mt06A90" Content-Disposition: inline In-Reply-To: <20201118153951.RESEND.v3.2.Idef164c23d326f5e5edecfc5d3eb2a68fcf18be1@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7J16OGEJ/mt06A90 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 18, 2020 at 03:40:25PM -0800, Evan Green wrote: > Enable i2c-mux-gpio devices to be defined via ACPI. The idle-state > property translates directly to a fwnode_property_*() call. The child > reg property translates naturally into _ADR in ACPI. >=20 > The i2c-parent binding is a relic from the days when the bindings > dictated that all direct children of an I2C controller had to be I2C > devices. These days that's no longer required. The i2c-mux can sit as a > direct child of its parent controller, which is where it makes the most > sense from a hardware description perspective. For the ACPI > implementation we'll assume that's always how the i2c-mux-gpio is > instantiated. >=20 > Signed-off-by: Evan Green Applied to for-next, thanks! The code Andy mentioned can still be refactored later if new ACPI helpers appear in the future. --7J16OGEJ/mt06A90 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmAEJXIACgkQFA3kzBSg Kbb1vg/+KdOXIWsXRKhM/WY5e4lYT/wZh633lzos59SDuTmM4+iILPjJDN6uQF4T bDKKwePHPafdhuTAyv465RrAHgxJvDoS13ZYgZqT89kfVd2YnUrdaixRIaSUkgXj nH2cJmMN67DR0srGOheyqBqiUYvQKaEKrX7lDHjf4tu6wwh/kkOkaVzjM9ie1Jp1 PwDeYmtpmGntIEaA80xnbVV0QR6TtbC+DPx8A46+gxSpinsAKJQzP32v5FmP5DPG /nxRh6YQyadsCfv9g3R48vFhKinr6LhEwfSlqmNWB8+xwSA53P9vqF8+yW6g+jqp Jx24xk2g3XYZS5ZfjXriGV6wKAfgtAzh5ukazlF0Q9c36z6OT/x3oDBZZOarYsUZ q7osjT2jlDsobHE1eLP3MAtQp1+X0MaDOrl4gy8WIi4SYAMkHmTxv53hXhw8lTbi X2ZBJhuem+xk/EDtNCF/4FjjM9I0Ule6XjEoMT7yuKjeq0IvCJfloSHfte7UR85P Id4FjW1C9mcwMlNITl4ospzBSMwb4VsP2G+MhG7ZG0PODT3j1pi3lxIH9xsZFxD2 bo0KAW61LDC807U/PRpYDmR86Agv3zYQww1KmhRv3OFzob3OASeV1hk2nNvUFAVC yFURvrC98Sx3lkFLm9knsIrzZgQNFqxj3XETnYwsaEtqjou5QkI= =YX94 -----END PGP SIGNATURE----- --7J16OGEJ/mt06A90--