From: Stefan Roese Date: Mon, 8 May 2017 07:34:31 +0200 Subject: [U-Boot] [PATCH 1/2] x86: ich6_gpio: Add use-lvl-write-cache for I/O access mode In-Reply-To: <1494211950-2633-1-git-send-email-bmeng.cn@gmail.com> References: <1494211950-2633-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <087eecd3-fb4f-efd9-c7b9-2dd39d95531f@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.05.2017 04:52, Bin Meng wrote: > Add a device-tree property use-lvl-write-cache that will cause > writes to lvl to be cached instead of read from lvl before each > write. This is required on some platforms that have the register > implemented as dual read/write (such as Baytrail). > > Prior to this fix the blue USB port on the Minnowboard Max was > unusable since USB_HOST_EN0 was set high then immediately set > low when USB_HOST_EN1 was written. > > This also resolves the 'gpio clear | set' command warning like: > "Warning: value of pin is still 0" > > Signed-off-by: George McCollister > > Signed-off-by: Bin Meng Reviewed-by: Stefan Roese Thanks, Stefan