From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 19/25] exynos: Allow PWM0 pinmux to be set up
Date: Fri, 15 Jan 2016 18:31:50 +0900 [thread overview]
Message-ID: <5698BC86.5090105@samsung.com> (raw)
In-Reply-To: <1452816014-7538-20-git-send-email-sjg@chromium.org>
On 15/01/16 09:00, Simon Glass wrote:
> This is commonly used for LCD backlight control. Add pinmux support for it
> on exynos5250 and 5420.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> arch/arm/mach-exynos/pinmux.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/mach-exynos/pinmux.c b/arch/arm/mach-exynos/pinmux.c
> index 12eb79c..fec2df9 100644
> --- a/arch/arm/mach-exynos/pinmux.c
> +++ b/arch/arm/mach-exynos/pinmux.c
> @@ -506,6 +506,9 @@ static int exynos5_pinmux_config(int peripheral, int flags)
> */
> gpio_set_pull(EXYNOS5_GPIO_X07, S5P_GPIO_PULL_NONE);
> break;
> + case PERIPH_ID_PWM0:
> + gpio_cfg_pin(EXYNOS5_GPIO_B20, S5P_GPIO_FUNC(2));
> + break;
> default:
> debug("%s: invalid peripheral %d", __func__, peripheral);
> return -1;
> @@ -548,6 +551,9 @@ static int exynos5420_pinmux_config(int peripheral, int flags)
> case PERIPH_ID_I2C10:
> exynos5420_i2c_config(peripheral);
> break;
> + case PERIPH_ID_PWM0:
> + gpio_cfg_pin(EXYNOS5420_GPIO_B20, S5P_GPIO_FUNC(2));
> + break;
> default:
> debug("%s: invalid peripheral %d", __func__, peripheral);
> return -1;
>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
Thanks,
Minkyu Kang.
next prev parent reply other threads:[~2016-01-15 9:31 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 23:59 [U-Boot] [PATCH 00/25] exynos: video: Convert exynos LCD driver to use driver model Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 01/25] exynos: video: Move driver files into their own directory Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 02/25] exynos: video: Drop dead code Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 03/25] exynos: video: Remove use of vidinfo_t typedef Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 04/25] exynos: video: Drop the static lcd_base_addr variable Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 05/25] exynos: video: Drop static variables in exynos_fimd.c Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 06/25] exynos: video: Drop static variables in exynos_fb.c Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 07/25] exynos: video: Drop static variables in exynos_dp_lowlevel.c Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 08/25] exynos: video: Move dsim_config_dt into a function Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 09/25] exynos: video: Move struct exynos_platform_mipi_dsim into vidinfo Simon Glass
2016-01-14 23:59 ` [U-Boot] [PATCH 10/25] exynos: video: Move mipi_lcd_device_dt into a function Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 11/25] exynos: video: Combine LCD driver into one file Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 12/25] exynos: pwm: Add a driver for the exynos5 PWM Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 13/25] video: Add an enum for active low/high Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 14/25] exynos: dts: Add pwm device tree node Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 15/25] exynos: Allow tizen to be built without an LCD Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 16/25] exynos: Allow CONFIG_MISC_COMMON to be build " Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 17/25] exynos: Disable LCD display for boards we can't convert Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 18/25] dts: Add clock and regulator binding files for max77802 Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 19/25] exynos: Allow PWM0 pinmux to be set up Simon Glass
2016-01-15 9:31 ` Minkyu Kang [this message]
2016-01-15 0:00 ` [U-Boot] [PATCH 20/25] exynos: Simplify calling of exynos_dp_phy_ctrl() Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 21/25] exynos: dts: Add display-related device tree fragments Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 22/25] exynos: video: Rename edp_device_info to exynos_dp_priv Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 23/25] exynos: video: Rename variables for driver model Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 24/25] exynos: video: Convert several boards to driver model for video Simon Glass
2016-01-15 0:00 ` [U-Boot] [PATCH 25/25] exynos: video: Drop old unused code Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5698BC86.5090105@samsung.com \
--to=mk7.kang@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.