From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55532C433F5 for ; Tue, 5 Apr 2022 23:04:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5859083BEB; Wed, 6 Apr 2022 01:04:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 0A40083B8A; Wed, 6 Apr 2022 01:04:00 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id C705983C63 for ; Wed, 6 Apr 2022 01:03:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 408C223A; Tue, 5 Apr 2022 16:03:50 -0700 (PDT) Received: from slackpad.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 76F1D3F718; Tue, 5 Apr 2022 16:03:49 -0700 (PDT) Date: Tue, 5 Apr 2022 23:57:50 +0100 From: Andre Przywara To: Samuel Holland Cc: Heiko Schocher , u-boot@lists.denx.de, Jagan Teki Subject: Re: [PATCH 0/4] sunxi: Fixes for DM I2C drivers Message-ID: <20220405235750.40e22f59@slackpad.lan> In-Reply-To: <20220318045237.56237-1-samuel@sholland.org> References: <20220318045237.56237-1-samuel@sholland.org> Organization: Arm Ltd. X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On Thu, 17 Mar 2022 23:52:32 -0500 Samuel Holland wrote: > A while back, the sunxi-specific P2WI and RSB drivers were converted to > support DM_I2C. Now they are used as non-DM drivers in SPL, and DM > drivers in U-Boot proper. > > However, the DM version of the code did not fully initialize either the > controller or the connected chips. So the DM driver would only work if > the non-DM version had previously been used in SPL. > > With these bug fixes and the pinctrl series, the drivers now work on > SoCs like A64 and H6, which have a PMIC but do not set it up in SPL. > All merged into sunxi/master, which already landed in mainline. Thanks! Andre > > Samuel Holland (4): > i2c: sun6i_p2wi: Initialize chips in .child_pre_probe > i2c: sun6i_p2wi: Add support for DM clocks and resets > i2c: sun8i_rsb: Initialize chips in .child_pre_probe > i2c: sun8i_rsb: Add support for DM clocks and resets > > drivers/i2c/sun6i_p2wi.c | 15 ++++++++++++++- > drivers/i2c/sun8i_rsb.c | 15 ++++++++++++++- > 2 files changed, 28 insertions(+), 2 deletions(-) >