From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Mon, 16 Jul 2018 07:26:28 +0200 Subject: [U-Boot] [RFC PATCH] gpio: zynq: Setup bank_name to dev->name In-Reply-To: References: <3a5a2fbe9d0aad4fdbbbf197c39dc0f973e5045e.1531404282.git.michal.simek@xilinx.com> Message-ID: <21af4f5b-fb0c-b6e7-ab8e-5da1f82f9dec@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16.7.2018 07:19, Simon Glass wrote: > On 12 July 2018 at 08:04, Michal Simek wrote: >> There should be proper bank name setup to distiguish between different >> gpio drivers. Use dev->name for it. >> >> Signed-off-by: Michal Simek >> --- >> >> drivers/gpio/zynq_gpio.c | 2 ++ >> 1 file changed, 2 insertions(+) > > Reviewed-by: Simon Glass > > Normally these would be named A, B, C, etc. Is there no such naming > convention on zynq? PS(Hard) part has only one gpio controller with several banks with are using the same address space. We are using from the beginning flat number scheme that's why only one name is used for all banks. Thanks, Michal