<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/arm/include/asm/gpio.h, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/arm/include/asm/gpio.h?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/arm/include/asm/gpio.h?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-05-06T08:04:48Z</updated>
<entry>
<title>arm: gpio: include integer type definitions for gpio.h</title>
<updated>2026-05-06T08:04:48Z</updated>
<author>
<name>Mathew McBride</name>
<email>matt@traverse.com.au</email>
</author>
<published>2026-05-01T01:36:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d360217d4a3536b022aadbd887a26573c3f01852'/>
<id>urn:sha1:d360217d4a3536b022aadbd887a26573c3f01852</id>
<content type='text'>
Both consumers and sub-arch specific versions of gpio.h
may reference stdint or other non-C90 type definitions.

Ensure the common ones are available by including linux/types.h
before any other headers.

This issue came to light when the usb onboard hub driver
was enabled for ten64_tfa_defconfig:

In file included from ./arch/arm/include/asm/gpio.h:2,
		 from common/usb_onboard_hub.c:10:
./arch/arm/include/asm/arch/gpio.h:17:9: error: unknown type name 'ulong'
   17 |         ulong addr;
./arch/arm/include/asm/arch/gpio.h:18:9: error: unknown type name 'ulong'
   18 |         ulong size;
./arch/arm/include/asm/arch/gpio.h:19:9: error: unknown type name 'uint'
   19 |         uint ngpios;

(In this instance, the cited errors actually originate from
arch/arm/include/asm/arch-fsl-layerscape/gpio.h, which is included
by the arm top level asm/gpio.h)

Implemented as per suggestion from Quentin Schulz in Link:

Signed-off-by: Mathew McBride &lt;matt@traverse.com.au&gt;
Link: https://lore.kernel.org/u-boot/35038a9a-fa5a-4f9f-b34e-17cc80a7824c@cherry.de/
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>gpio: Introduce CONFIG_GPIO_EXTRA_HEADER to cleanup #ifdefs</title>
<updated>2021-07-06T18:07:36Z</updated>
<author>
<name>Masami Hiramatsu</name>
<email>masami.hiramatsu@linaro.org</email>
</author>
<published>2021-06-04T09:43:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7a672057dcd36792f01529922fc85892a03be22d'/>
<id>urn:sha1:7a672057dcd36792f01529922fc85892a03be22d</id>
<content type='text'>
Since some SoCs and boards do not hae extra asm/arch/gpio.h,
introduce CONFIG_GPIO_EXTRA_HEADER instead of adding
!define(CONFIG_ARCH_XXXX) in asm/gpio.h.

Signed-off-by: Masami Hiramatsu &lt;masami.hiramatsu@linaro.org&gt;
</content>
</entry>
<entry>
<title>gpio: do not include &lt;asm/arch/gpio.h&gt; on ARCH_QEMU</title>
<updated>2021-01-18T20:14:15Z</updated>
<author>
<name>Harm Berntsen</name>
<email>harm.berntsen@nedap.com</email>
</author>
<published>2020-10-30T08:45:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=30569b47dbc496f1de38932b3970e6d2ae52ca10'/>
<id>urn:sha1:30569b47dbc496f1de38932b3970e6d2ae52ca10</id>
<content type='text'>
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include &lt;asm/arch/gpio.h&gt; for
QEMU.

Signed-off-by: Harm Berntsen &lt;harm.berntsen@nedap.com&gt;
</content>
</entry>
<entry>
<title>board: armltd: Add support for Total Compute platform</title>
<updated>2020-08-24T18:11:31Z</updated>
<author>
<name>Usama Arif</name>
<email>usama.arif@arm.com</email>
</author>
<published>2020-08-12T15:12:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=565add124de00c994652a0d2d6d1eb6b2a7c9553'/>
<id>urn:sha1:565add124de00c994652a0d2d6d1eb6b2a7c9553</id>
<content type='text'>
Total Compute is based on ARM architecture and has
the following features enabled in u-boot:
- PL011 UART
- PL180 MMC
- NOR Flash
- FIT image with Signature
- AVB

Signed-off-by: Usama Arif &lt;usama.arif@arm.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>gpio: do not include &lt;asm/arch/gpio.h&gt; on TARGET_BCMNS3</title>
<updated>2020-07-29T14:37:11Z</updated>
<author>
<name>Rayagonda Kokatanur</name>
<email>rayagonda.kokatanur@broadcom.com</email>
</author>
<published>2020-05-05T17:56:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=912fe3768f2eda79623aefceb30ce42e23aaff06'/>
<id>urn:sha1:912fe3768f2eda79623aefceb30ce42e23aaff06</id>
<content type='text'>
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include &lt;asm/arch/gpio.h&gt; for
arch bcmns3.

Signed-off-by: Rayagonda Kokatanur &lt;rayagonda.kokatanur@broadcom.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: armv8: gpio: include &lt;asm/arch/gpio.h&gt; for fsl-layerscape</title>
<updated>2020-07-27T08:46:27Z</updated>
<author>
<name>hui.song</name>
<email>hui.song_1@nxp.com</email>
</author>
<published>2020-05-20T10:40:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=02decd4e0ccf1a1f6395f24dfa14e2578f3e6e29'/>
<id>urn:sha1:02decd4e0ccf1a1f6395f24dfa14e2578f3e6e29</id>
<content type='text'>
Enable the gpio feature on fsl-layerscape platform.

Signed-off-by: hui.song &lt;hui.song_1@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>dm: arm64: ls1046a: add i2c DM support</title>
<updated>2020-03-30T02:42:13Z</updated>
<author>
<name>Biwen Li</name>
<email>biwen.li@nxp.com</email>
</author>
<published>2020-02-05T14:02:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb1165f900088c796e254cc99c8f81d47e3d57c9'/>
<id>urn:sha1:bb1165f900088c796e254cc99c8f81d47e3d57c9</id>
<content type='text'>
This supports i2c DM and enables CONFIG_DM_I2C
for SoC LS1046A

Signed-off-by: Biwen Li &lt;biwen.li@nxp.com&gt;
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>dm: arm64: ls1043a: add i2c DM support</title>
<updated>2020-03-30T02:42:13Z</updated>
<author>
<name>Biwen Li</name>
<email>biwen.li@nxp.com</email>
</author>
<published>2020-02-05T14:02:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fefac937fbd87f380042501c63b874994b3dccee'/>
<id>urn:sha1:fefac937fbd87f380042501c63b874994b3dccee</id>
<content type='text'>
This supports i2c DM and enables CONFIG_DM_I2C
for SoC LS1043A

Signed-off-by: Biwen Li &lt;biwen.li@nxp.com&gt;
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>gpio: do not include &lt;asm/arch/gpio.h&gt; for Cortina CAxxxx SoCs</title>
<updated>2020-02-07T19:01:21Z</updated>
<author>
<name>Jason Li</name>
<email>jason.li@cortina-access.com</email>
</author>
<published>2020-01-30T20:34:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f267f84b93d026cfcce77fc3f9eba4c57d4ad0e0'/>
<id>urn:sha1:f267f84b93d026cfcce77fc3f9eba4c57d4ad0e0</id>
<content type='text'>
The Cortina CAxxxx GPIO driver maintains DM_GPIO support
across different CPU ISA in the CAxxxx Soc Family; Not just ARM.
Therefore, it is not desirable to split out and maintain separete
gpio header file for each CPU architecture.

Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Jason Li &lt;jason.li@cortina-access.com&gt;
Signed-off-by: Alex Nemirovsky &lt;alex.nemirovsky@cortina-access.com&gt;
</content>
</entry>
<entry>
<title>dm: arm64: ls1012a: add i2c DM support</title>
<updated>2020-02-04T10:50:25Z</updated>
<author>
<name>Biwen Li</name>
<email>biwen.li@nxp.com</email>
</author>
<published>2019-12-31T07:33:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a0affb367ad638e1e6f51ed3678d3daad5724a40'/>
<id>urn:sha1:a0affb367ad638e1e6f51ed3678d3daad5724a40</id>
<content type='text'>
This supports i2c DM and enables CONFIG_DM_I2C
for SoC LS1012A

Signed-off-by: Biwen Li &lt;biwen.li@nxp.com&gt;
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
</feed>
