From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (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 EE38F13777E for ; Mon, 30 Mar 2026 09:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774862155; cv=none; b=KGIHXok7HdQlO4gMLTEClaZL1Pce7GzJUJe9HLKWPcRPCATpknrDpYZdw6PXKRwZhsW2fOoWnSjd60ZcKnr7JvKm1Mapus+GACZ2ccIoPU9ERVtGjxYnR+0Zl/N4d+a/cMnWfOsAiUyOeKFRbFPej1y8Z3XRs0XJNrib3RNbB0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774862155; c=relaxed/simple; bh=a8YvugJH+t8gjC+U2aNmb6hmFv51p6ka7JzEV8FgDjU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qYsho3T8hKSF2mrc5oxV8+ohQYV+wI7FJX+UiSR/OOQOWFgH6B6pViX0Ae6tVkEPI3db+fQIUC5M4bTr3Gzgs4SThPkQ9Ogmq8g97WRdeODyUMB88TpQRnMXo6CQILHrh51oXn/N/htlSn7Z+yTw0SDRme2f9FvEG+Q6g/ebnJk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=lxRPe8nd; arc=none smtp.client-ip=91.218.175.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="lxRPe8nd" Date: Mon, 30 Mar 2026 17:15:34 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1774862142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ffNey6SOjj6PKeMnJLurYQewyxdkCi4z/62Wjxr/TDg=; b=lxRPe8ndEyU517wIcgrl2IHaTXvpw4dbrzkXLqhOImcJA1Z/hSzUM6VLjXmAqBlFWoeSXU 2UblgqPB0rl3E6gSUr9lMritOmbjAkUdGa27ie9MMebNPGClDFgHJ/Nqp/ZZujsEsftLsA VmYg3LRd4F+Q8Nz738sYapqFq3A6c8U= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Troy Mitchell To: Iker Pedrosa , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Adrian Hunter , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan Cc: Michael Opdenacker , Javier Martinez Canillas , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, Anand Moon , Trevor Gamblin , Troy Mitchell Subject: Re: [PATCH v5 3/9] mmc: sdhci-of-k1: add regulator and pinctrl voltage switching support Message-ID: References: <20260330-orangepi-sd-card-uhs-v5-0-bd853604322d@gmail.com> <20260330-orangepi-sd-card-uhs-v5-3-bd853604322d@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260330-orangepi-sd-card-uhs-v5-3-bd853604322d@gmail.com> X-Migadu-Flow: FLOW_OUT On Mon, Mar 30, 2026 at 16:38:04 CST, Iker Pedrosa wrote: > Add voltage switching infrastructure for UHS-I modes by integrating both > regulator framework (for supply voltage control) and pinctrl state > switching (for pin drive strength optimization). > > - Add regulator supply parsing and voltage switching callback > - Add optional pinctrl state switching between "default" (3.3V) and > "state_uhs" (1.8V) configurations > - Enable coordinated voltage and pin configuration changes for UHS modes > > This provides complete voltage switching support while maintaining > backward compatibility when pinctrl states are not defined. > > Tested-by: Anand Moon > Tested-by: Trevor Gamblin > Acked-by: Adrian Hunter > Signed-off-by: Iker Pedrosa Reviewed-by: Troy Mitchell