summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-01-03 08:39:44 -0500
committerTom Rini <trini@konsulko.com>2019-01-03 08:39:44 -0500
commit7436f5e54d35bcad53befec90e2e67288071f74e (patch)
tree19d99b0fa4532bfbfefa2a12274a6079cf10df3f /include
parent695f67b5b3693232406a5cb3590d8fc5860c9f6c (diff)
parent77012e79ffc35994e5d6efca458d65bd03842b00 (diff)
downloadu-boot-7436f5e54d35bcad53befec90e2e67288071f74e.tar.gz
u-boot-7436f5e54d35bcad53befec90e2e67288071f74e.tar.xz
u-boot-7436f5e54d35bcad53befec90e2e67288071f74e.zip
Merge tag 'for-master-20190103' of git://git.denx.de/u-boot-rockchip
Last-minute fixes for 2019.1: - clamp DRAM size to below 32bit for 32bit targets to support 4GB - fix copyright notice on some Rockchip-contributed files - adjust vdd_log for the RK3399-Q7 to improve stability in some workloads
Diffstat (limited to 'include')
-rw-r--r--include/dm/pinctrl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h
index 63a7d55b88..ff2b82e7c2 100644
--- a/include/dm/pinctrl.h
+++ b/include/dm/pinctrl.h
@@ -355,6 +355,18 @@ int pinctrl_get_periph_id(struct udevice *dev, struct udevice *periph);
int pinctrl_decode_pin_config(const void *blob, int node);
/**
+ * pinctrl_decode_pin_config_dm() - decode pin configuration flags
+ *
+ * This decodes some of the PIN_CONFIG values into flags, with each value
+ * being (1 << pin_cfg). This does not support things with values like the
+ * slew rate.
+ *
+ * @pinconfig: Pinconfig udevice
+ * @return decoded flag value, or -ve on error
+ */
+int pinctrl_decode_pin_config_dm(struct udevice *dev);
+
+/**
* pinctrl_get_gpio_mux() - get the mux value for a particular GPIO
*
* This allows the raw mux value for a GPIO to be obtained. It is