<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/pinctrl/nxp, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-06-11T08:43:00Z</updated>
<entry>
<title>pinctrl: imx: Define imx6_pinctrl_soc_info in .data section</title>
<updated>2019-06-11T08:43:00Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2019-04-23T14:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=c0df121a97d869c23c557b85aebb0b5689d954dd'/>
<id>urn:sha1:c0df121a97d869c23c557b85aebb0b5689d954dd</id>
<content type='text'>
This commit is necessary to be able to re-use the pinctrl code in early
SPL to properly configure pins.

The problem is that those "static" structures (without explicit
initialization) are placed in the SDRAM area, which corresponds to
u-boot proper (not even SPL).
Hence, when one wants to configure pins before relocation via DTS/DM,
the board hangs (imx6q SoC powered one) as only OCRAM area is available
(0x009xxxxx).

This commit prevents from this issue by moving the imx6_pinctrl_soc_info
structure to data section (from BSS).

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Reviewed-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: imx8: add i.MX8QM compatible</title>
<updated>2019-04-25T15:03:25Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2019-03-05T02:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a413c17e41a36e1937dd89d0cffa36e96c3b3c8c'/>
<id>urn:sha1:a413c17e41a36e1937dd89d0cffa36e96c3b3c8c</id>
<content type='text'>
Add i.MX8QM compatible

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: add imx8m driver</title>
<updated>2019-03-13T08:14:35Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2019-01-28T09:43:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=78814467a05804254a9dc57ddc61c1c56fdaddd0'/>
<id>urn:sha1:78814467a05804254a9dc57ddc61c1c56fdaddd0</id>
<content type='text'>
Add i.mx8m pinctrl driver.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: imx: Fix select input issue</title>
<updated>2019-01-28T19:35:47Z</updated>
<author>
<name>Ye Li</name>
</author>
<published>2019-01-04T09:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=11a1c27eb454ece04ca4e61f0ea1ab4ebaafa5b5'/>
<id>urn:sha1:11a1c27eb454ece04ca4e61f0ea1ab4ebaafa5b5</id>
<content type='text'>
The pinctrl supports to set any bit in input register on iMX6 if
the MSB of input value is 0xff. But the driver uses signed int for
input value, so when executing the codes below, it won't meet.
Because this is arithmetic right shift.

    if (input_val &gt;&gt; 24 == 0xff)

Fix the issue by changing the input_val, config_val and mux_mode to u32.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Reviewed-by: Fugang Duan &lt;fugang.duan@nxp.com&gt;
Reviewed-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>ARM: vybrid: Provide pinctrl driver for Vybrid (vf610)</title>
<updated>2019-01-01T13:12:18Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2018-11-19T23:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=f0b73d97074b6e113c9fed96db73b63f4d1a3c01'/>
<id>urn:sha1:f0b73d97074b6e113c9fed96db73b63f4d1a3c01</id>
<content type='text'>
This implementation comply with other iMX devices pinctrl drivers already
available in U-boot.

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers</title>
<updated>2018-11-14T17:16:28Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-10-24T13:36:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ad0e8048437e776e687a977a84494852a64f4693'/>
<id>urn:sha1:ad0e8048437e776e687a977a84494852a64f4693</id>
<content type='text'>
When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
bound before relocation. However due to a bug in the DM core,
the flag only takes effect when devices are statically declared
via U_BOOT_DEVICE(). This bug has been fixed recently by commit
"dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
lists_bind_fdt()", but with the fix, it has a side effect that
all existing drivers that declared DM_FLAG_PRE_RELOC flag will
be bound before relocation now. This may expose potential boot
failure on some boards due to insufficient memory during the
pre-relocation stage.

To mitigate this potential impact, the following changes are
implemented:

- Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
  only supports configuration from device tree (OF_CONTROL)
- Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
  is statically declared via U_BOOT_DEVICE()
- Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
  drivers that support both statically declared devices and
  configuration from device tree

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: Add pinctrl driver for i.MX8</title>
<updated>2018-10-22T10:59:01Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2018-10-18T12:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=38b6686f05d4609334b5796bc352ec01d54c5eb4'/>
<id>urn:sha1:38b6686f05d4609334b5796bc352ec01d54c5eb4</id>
<content type='text'>
Add pinctrl driver for i.MX8. The pads configuration is controlled
by SCU, so need to ask SCU to configure pads through scfw API.
Add pinctrl-scu to invoke sc_pad_set to configure pads.
Add a new flag IMX8_USE_SCU to differentiate i.MX8 from other platforms
which could directly configure pads from Acore side.
Add CONFIG_PINCTRL_IMX8 as the built gate.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: imx6ul: Fix pinctrl data overlapped with DT area</title>
<updated>2017-11-27T09:36:40Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2017-11-20T18:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=bb0297ccbd47de6bafc7bf54b31f7181bb346f69'/>
<id>urn:sha1:bb0297ccbd47de6bafc7bf54b31f7181bb346f69</id>
<content type='text'>
before relocation pinctrl data BSS is overlapping DT area,
when .data is using uninitialized global variable,
imx6_pinctrl_soc_info. So assign them flags ZERO_OFFSET_VALID
to prevent BSS overlap

Suggested-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Reported-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: imx7ulp: Add new info instance for iomuxc1</title>
<updated>2017-08-23T08:48:15Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2017-08-14T10:09:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7a7bfec39ea8a800c6cce21c3f44544943ea0a8e'/>
<id>urn:sha1:7a7bfec39ea8a800c6cce21c3f44544943ea0a8e</id>
<content type='text'>
To i.MX7ULP, we need to create two info instances for
iomux0 and iomux1 respectively, otherwise iomuxc0/1 will
share one info instance and use one base, because imx_pinctrl_probe
will use info to store base address and etc. But iomuxc0/1
actually have different base address.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
</feed>
