From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 30EF4358364 for ; Thu, 12 Mar 2026 15:23:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773329040; cv=none; b=Mq4RJn354otOnWnoRy7iCRv+d3Jy8K2G+BwQbDtVM6LhyEuM0yH+hp52Z5IoqE0uzOiNW2Lx/Mgz4zyPbQcFbi//jUi50zIYiXTdzv+XE50hjsJhueNQd0rmJ6PH6SUFKfJBtKCJLcqwIoTFcxFKOzGhJxvo3kggTUOseSsq8bc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773329040; c=relaxed/simple; bh=f5AkGCNIlsIiIS2aAVeZIoWWGU7v/7E5KHmN7SztE0Y=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=XZ8+zp++HPKV3zK18UlvmLeiV+R6xAr7YzvL0tdA/n/GXqoL6NiRJl77XiGP0lUrk0K5qVOWf3fUKw4MPqLubQ6XXgXx54fidijfLr+huujJm60dTACF3cCpagnCdNrr0MTgd+jhQ38aa0v8JNC1zvFy8tX3MRDmrMJ1+HaWbro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1w0hso-0004Q3-4k; Thu, 12 Mar 2026 16:23:30 +0100 Received: from lupine.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::4e] helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w0hsl-0052i9-0j; Thu, 12 Mar 2026 16:23:28 +0100 Received: from pza by lupine with local (Exim 4.98.2) (envelope-from ) id 1w0hsm-00000000Cd0-1zu3; Thu, 12 Mar 2026 16:23:28 +0100 Message-ID: Subject: Re: [PATCH v8 1/5] mux: Add driver for Renesas RZ/V2H USB VBENCTL VBUS_SEL mux From: Philipp Zabel To: Tommaso Merciai , tomm.merciai@gmail.com, peda@axentia.se Cc: linux-renesas-soc@vger.kernel.org, biju.das.jz@bp.renesas.com, Fabrizio Castro , Lad Prabhakar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Ulf Hansson , Greg Kroah-Hartman , Josua Mayer , Arnd Bergmann , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 12 Mar 2026 16:23:28 +0100 In-Reply-To: <67a38e592551e1a8ac4f9810fd4cdbab729169db.1773319566.git.tommaso.merciai.xr@bp.renesas.com> References: <67a38e592551e1a8ac4f9810fd4cdbab729169db.1773319566.git.tommaso.merciai.xr@bp.renesas.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-0+deb13u1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org On Do, 2026-03-12 at 15:50 +0100, Tommaso Merciai wrote: > As per the RZ/V2H(P) HW manual, VBUSEN can be controlled by the VBUS_SEL > bit of the VBENCTL Control Register. This register is mapped in the > reset framework. The reset driver expose this register as mux-controller > and instantiates this driver. The consumer will use the mux API to > control the VBUS_SEL bit. >=20 > Signed-off-by: Tommaso Merciai Reviewed-by: Philipp Zabel Converting the reset driver to regmap and passing the regmap via dev_get_regmap() would allow to get rid of the dependency between patches 1 and 5. regards Philipp