From patchwork Mon Feb 3 10:38:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Wallner X-Patchwork-Id: 235803 List-Id: U-Boot discussion From: wolfgang.wallner at br-automation.com (Wolfgang Wallner) Date: Mon, 3 Feb 2020 11:38:03 +0100 Subject: [PATCH v2 0/3] gpio: intel_gpio: Fix Intel gpio driver Message-ID: <20200203103806.29445-1-wolfgang.wallner@br-automation.com> This series fixes some issues in the Intel gpio driver. I have tested it on an Apollo Lake device, where U-Boot is booted as a coreboot payload. Changes in v2: - Fixed typo in the commit description - Fixed the same error in both intel_gpio_direction_output() and intel_gpio_set_value() (Thanks to Bin Meng for catching this) - Reworded commit description - Added reviewed-by tags Wolfgang Wallner (3): gpio: intel_gpio: Pass pinctrl device to pcr_clrsetbits32() gpio: intel_gpio: Clear tx state bit when setting output gpio: intel_gpio: Fix register/bit offsets intel_gpio_get_value() drivers/gpio/intel_gpio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)