From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 23 Jan 2021 19:03:37 -0700 Subject: [PATCH 05/11] pinctrl: single: check "register-width" DT property In-Reply-To: <20210123182711.7177-6-dariobin@libero.it> References: <20210123182711.7177-1-dariobin@libero.it> <20210123182711.7177-6-dariobin@libero.it> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Dario, On Sat, 23 Jan 2021 at 11:27, Dario Binacchi wrote: > > In more recent versions of the Linux kernel the driver's probe function > returns an error if the "pinctrl-single,register-width" DT property is > missing. The lack of this information, in fact, does not allow to know > whether to access the registers of the controller at 8, 16 or 32 bits. "Update it to ..." > > Signed-off-by: Dario Binacchi > --- > > drivers/pinctrl/pinctrl-single.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > Reviewed-by: Simon Glass Consider updating the pinctrl tests for this.