From: Marek Vasut Date: Wed, 29 Aug 2018 03:45:26 +0200 Subject: [U-Boot] [PATCH v3 1/2] gpio: Add struct reset_ctl_bulk In-Reply-To: References: <1535472478-5677-1-git-send-email-ley.foon.tan@intel.com> <11417972-cd96-8de9-35ff-a459d312452f@denx.de> Message-ID: <47318ae2-8b1d-7f0d-b35d-c2eb04fc9d8d@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/29/2018 03:28 AM, Ley Foon Tan wrote: > On Tue, Aug 28, 2018 at 5:53 PM Marek Vasut wrote: >> >> On 08/28/2018 06:07 PM, Ley Foon Tan wrote: >>> Add struct reset_ctl_bulk to struct gpio_dev_priv to support reset control >>> in GPIO driver. >>> >>> Signed-off-by: Ley Foon Tan >> >> Isn't this reset support supposed to be driver specific, and thus part >> of driver private data ? > > Just notice not all gpio node have sub gpio port node. platdata in > dwgpio drivers is per gpio port. > Will abandon this patch and add a platdata struct for dwgpio parent device. That's probably a good idea. -- Best regards, Marek Vasut