The NetBSD Project

CVS log for src/sys/arch/arm/samsung/exynos_gpio.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / samsung

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 11 23:48:50 2022 UTC (11 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.32: +17 -5 lines
Diff to previous 1.32 (colored)

arm/samsung: Don't abuse child's dv_private for the parent's uses.

dv_private belongs to the device itself, i.e., the child here.

This overwrote the child's softc pointer, causing all kinds of havoc;
if this worked it was by an amazing accident.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:45 2021 UTC (18 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Merge thorpej-cfargs2.

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 16:51:29 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Adapt to CFARGS().

Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:28 2021 UTC (21 months, 2 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:18 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Mar 23 07:14:44 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 18 02:35:49 2021 UTC (2 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

Remove "struct of_compat_data" and replace its usage with
"struct device_compatible_entry"; they are ABI-compatible.

Fix several "loses const qualifier" bugs encountered during
this conversion.

Revision 1.23.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:30 2020 UTC (2 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.23.18.1: +117 -40 lines
Diff to previous 1.23.18.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Merge changes from current as of 20200406

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Sat Mar 21 20:20:02 2020 UTC (2 years, 10 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.25.4.1: +116 -39 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by skrll in ticket #798):

	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.17
	sys/arch/arm/samsung/exynos_pinctrl.h: revision 1.3
	sys/arch/arm/samsung/exynos_gpio.c: revision 1.27
	sys/arch/arm/samsung/exynos_gpio.c: revision 1.28
	sys/arch/arm/samsung/exynos_gpio.c: revision 1.29
	sys/arch/arm/samsung/exynos_var.h: revision 1.28

Use __BIT/__SHIFTOUT some more.  NFCI.

G/C

Support Exynos 5410 GPIO

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Mar 21 20:01:01 2020 UTC (2 years, 10 months ago) by martin
Branch: netbsd-9
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Pull up following revision(s) (requested by skrll in ticket #796):

	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.16
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_gpio.c: revision 1.26
	sys/arch/arm/samsung/exynos_uart.c: revision 1.3
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.15

Trailing whitespace

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 20 06:38:16 2020 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-futex
Changes since 1.28: +107 -22 lines
Diff to previous 1.28 (colored)

Support Exynos 5410 GPIO

Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 20 06:35:59 2020 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.27: +2 -10 lines
Diff to previous 1.27 (colored)

G/C

Revision 1.27 / (download) - annotate - [select for diffs], Fri Mar 20 06:33:00 2020 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.26: +11 -11 lines
Diff to previous 1.26 (colored)

Use __BIT/__SHIFTOUT some more.  NFCI.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 17 21:24:30 2020 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Traiing whitespace

Revision 1.23.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:56 2019 UTC (3 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.23: +54 -61 lines
Diff to previous 1.23 (colored)

Sync with HEAD

Revision 1.23.16.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:29 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.23: +54 -61 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 4 22:16:42 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.24: +16 -45 lines
Diff to previous 1.24 (colored)

Remove some duplicate code

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 2 23:54:52 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.23: +40 -18 lines
Diff to previous 1.23 (colored)

Make the pinctrl driver actually work.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:56 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.7.2.2: +303 -696 lines
Diff to previous 1.7.2.2 (colored) next main 1.8 (colored)

update from HEAD

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:29:57 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.2.2: +73 -57 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 31 03:50:34 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored)

XU4 gpio - get rid of annoying printf

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 30 04:30:27 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
Changes since 1.21: +39 -26 lines
Diff to previous 1.21 (colored)

XU4 i2c, gpio & pinctrl changes

modify exynos_gpio.c to support the new pinctrl model.
set up the new pinctrl model in exynos_pinctrl.c

Flesh out exynos_i2c.c and set it up to use the new pinctrl model.  NOTE:
exynos_i2c.c is still incomplete.  I need to figure out what to set the
prescaler and scaler to.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 27 12:42:14 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.20: +9 -9 lines
Diff to previous 1.20 (colored)

make exynos_gpio_fdt_acquire actually work, now dwcmmc properly does card detect for micro SD slot

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 27 12:22:28 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.19: +34 -35 lines
Diff to previous 1.19 (colored)

handle active low flag, simplify bank / pin name parsing, no need to panic if bank lookup fails

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:32 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.11.2.1: +285 -812 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 27 02:43:42 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
Changes since 1.18: +13 -8 lines
Diff to previous 1.18 (colored)

XU4 gpio clean up acquire code

properly locate the bank in the acquire code.  This may even work.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 24 01:10:51 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.17: +18 -14 lines
Diff to previous 1.17 (colored)

XU4 GPIO Review Changes

Implement suggestions from Jared.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 22 22:19:07 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.16: +8 -8 lines
Diff to previous 1.16 (colored)

Add fdtbus_gpio_{read,write}_raw, which tells the controller not to take
polarity into account. Tegra GPIO pin data includes pin polarity, but so
does a regulator-fixed node, so the end result was that the enable value
was being swapped twice. Change fregulator to use the raw APIs, and adapt
Tegra and Exynos GPIO drivers to support this flag.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 22 03:36:01 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
Changes since 1.15: +137 -62 lines
Diff to previous 1.15 (colored)

XU4 GPIO Driver

This is a moderately tested working gpio driver for the Exynos based ODROID
XU4.  To use this you have to edit the dtd file exynos54422-pinctrl.dtsi
and change the two occurances of 'gpz' to 'gpz0'.  Otherewise it will crash
on a lookup failure.

It certainly could use a code review.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 21 04:58:50 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

XU4 FDT final checkpoint

step N of N: get rid of baggage by removing whole files.  What's left is in
approximately the same shape as when the FDT update started, that is mostly
broken. What's missing is most of the 76 devices recognized in the dtd. In
other words, This is barely the start of a port.

Next up, gpio then i2c, followed either by straightening out usb or getting
the sdhc driver to work -- both probably require getting the interrupt
combiner to work first. A large chunk of work is left to do on the clocks.
I barely got them attaching to fdt and didn't do anything to take advantage
of the information in the dtd.

None of the other existing drivers, such as they are, properly request gpios,
i2c or clocks, and, of course power domains are off the table.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 19 21:42:31 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
Changes since 1.13: +138 -284 lines
Diff to previous 1.13 (colored)

XU4 GPIO FDT broken snapshot

This is broken. exynos_gpio_bank_config and the call to it are wrong, and
the acquire function doesn't work.

But I'm in over my head and I need to discuss this:

There is a problem with the dtd: it doesn't have addresses for the individual
gpios.  Do I add the addresses to it, or go back to the old version where I
have them hard coded in the driver.

There is a problem with creating the gpio device entries:  I suspect I really
need to treat the pinctrl devices as busses and create the gpios as attached
to those busses, but I'm not familiar with how to do that in NetBSD. At the
minimum, a pointer to a similar situation would give me code to follow.
This is different than the usual bus attachment in that the gpios aren't
devices in the dtd (they don't have "compatible" properties) so they don't
get an attach routine called.  An alternative to generating the bus
attachments might be to add "compatible" properties to the GPIO entries
in the dtd. so that they do get attached in the normal way.

If I'm going to modify the DTD, then it should be checked in, so a decision
on where to check them in would be nice, even if it does mean spreading them
all over because of license issues.  (This DTD is GPL v2)

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 11 04:03:44 2015 UTC (7 years, 2 months ago) by marty
Branch: MAIN
Changes since 1.12: +233 -693 lines
Diff to previous 1.12 (colored)

EXYNOS Rewrite step 2 of N: New exynos_gpio.c

I can't bring  myself to fully nuke from orbit, so there are really two
things in this checkin:

1) A major rewrite of exynos_gpio.c, based mostly on the Nvidia
   tegra_gpio.c file.  This is missing a major function that will be
   added the first time a customer for it is integrated, which is meant to
   select pins based on aliases, rather than pin bank names.

2) A small number of changes to other files that keep the tree compiling
   and progressing as far as ever; except it is now 5422 specific and
   will not boot on the other exynos socs, which I don't have hardware to
   test.

The choice to remove functionality is always controversial, but since
we are doing a significant rewrite and I don't have either
documentation or hardware *and* none of the code really works now
anyway, I'm taking the stance that only tested functionality should be
added, and that we'll layer the other exynos socs on this once it
fully boots.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:53 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Sync with HEAD

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sun Jan 4 11:19:00 2015 UTC (8 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.6: +121 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up the following revisions, requested by skrll in #373:

sys/arch/arm/samsung/exynos4_loc.c              1.10-1.11
sys/arch/arm/samsung/exynos4_reg.h              1.8-1.13
sys/arch/arm/samsung/exynos5_loc.c              1.8-1.12
sys/arch/arm/samsung/exynos5_reg.h              1.11-1.20
sys/arch/arm/samsung/exynos_gpio.c              1.7-1.12
sys/arch/arm/samsung/exynos_i2c.c               1.2-1.3
sys/arch/arm/samsung/exynos_intr.h              1.2
sys/arch/arm/samsung/exynos_io.c                1.7-1.8
sys/arch/arm/samsung/exynos_io.h                1.5-1.6
sys/arch/arm/samsung/exynos_reg.h               1.8-1.13
sys/arch/arm/samsung/exynos_smc.S               1.2-1.3
sys/arch/arm/samsung/exynos_soc.c               1.15-1.27
sys/arch/arm/samsung/exynos_usb.c               1.8-1.13
sys/arch/arm/samsung/exynos_var.h               1.13-1.18
sys/arch/arm/samsung/exynos_wdt.c               1.5
sys/arch/arm/samsung/mct.c                      1.4-1.5
sys/arch/arm/samsung/mct_reg.h                  1.2
sys/arch/arm/samsung/mct_var.h                  1.3
sys/arch/arm/samsung/smc.h                      1.2
sys/arch/arm/samsung/sscom.c                    1.7
sys/arch/evbarm/odroid/odroid_machdep.c         1.25-1.39
sys/arch/evbarm/odroid/odroid_start.S           1.4-1.6
sys/arch/evbarm/conf/std.odroid                 1.3-1.5
sys/arch/evbarm/conf/ODROID                     delete
sys/arch/evbarm/conf/ODROID-U                   1.10-1.17
sys/arch/evbarm/conf/ODROID_INSTALL             delete
sys/arch/evbarm/conf/ODROID-XU                  1.1-1.4

Improve ODROID support.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Dec 29 22:34:08 2014 UTC (8 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Trailing whitespace.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 24 20:35:43 2014 UTC (8 years, 4 months ago) by reinoud
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.10: +13 -2 lines
Diff to previous 1.10 (colored)

Add extra GPIO chunk for 5410

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 9 21:21:22 2014 UTC (8 years, 5 months ago) by reinoud
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Xuhost bits for Exynos5 are located in the two top bits

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 5 08:01:05 2014 UTC (8 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

RCSId police

Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 26 11:49:39 2014 UTC (8 years, 5 months ago) by reinoud
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Make it compile without DIAGNOSTIC

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:47 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.7.2.1: +842 -0 lines
Diff to previous 1.7.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.7.2.1, Thu Aug 14 15:42:31 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.7: +0 -945 lines
FILE REMOVED

file exynos_gpio.c was added on branch tls-maxphys on 2014-08-20 00:02:47 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 14 15:42:31 2014 UTC (8 years, 5 months ago) by reinoud
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.6: +104 -1 lines
Diff to previous 1.6 (colored)

Add GPIO definitions for Exynos5 series (taken from 5250)

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:52 2014 UTC (8 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.6.4.1: +842 -0 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Rebase.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:34 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.6.2.1: +792 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.6.4.1, Wed May 21 12:18:24 2014 UTC (8 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.6: +0 -842 lines
FILE REMOVED

file exynos_gpio.c was added on branch tls-earlyentropy on 2014-08-10 06:53:52 +0000

Revision 1.6.2.1, Wed May 21 12:18:24 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.6: +0 -842 lines
FILE REMOVED

file exynos_gpio.c was added on branch yamt-pagecache on 2014-05-22 11:39:34 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 21 12:18:24 2014 UTC (8 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: yamt-pagecache, tls-earlyentropy, netbsd-7
Changes since 1.5: +10 -3 lines
Diff to previous 1.5 (colored)

Don't panic if the pin is not available in pin_reserve() but return false
instead.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:44:59 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.5.2.1: +835 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.5.2.1, Fri May 16 10:02:24 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.5: +0 -835 lines
FILE REMOVED

file exynos_gpio.c was added on branch rmind-smpnet on 2014-05-18 17:44:59 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 16 10:02:24 2014 UTC (8 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: rmind-smpnet
Changes since 1.4: +51 -10 lines
Diff to previous 1.4 (colored)

Fix issues with the gpio controller:
* the func get/put shift is 4 bits, not 16!
* redo available and inuse bits
* create a function to get a pindata from a pinset

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 14 09:03:09 2014 UTC (8 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.3: +28 -26 lines
Diff to previous 1.3 (colored)

Revisit gpio and revisit register file mapping. The additional register files
are now mapped behind the origional register file.

The gpio channel GPZ is mapped over I2S0 in the separate audio register file
and were both abusively mapped over I2C0 in the main register file!

While here, delay the gpio bootstrap till on attachment. We could hasten it in
the odroid_machdep.c if needed. Also make the gpio code more resilliant and
allow booting correctly without any GPIO bits defined/available.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 10 21:46:15 2014 UTC (8 years, 9 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pagecache-base9
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Fix typo

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 10 19:31:00 2014 UTC (8 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored)

Add the missing ETC0, ETC6, ETC7, ETC8 `gpio' registers. They are special in
that they can't be set/unset nor configured. The only changeable parameters
are the pullups PUD and the DRV driving strength. They however fit the same
structure as the rest of the GPIOs and are used as such.

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 9 21:49:43 2014 UTC (8 years, 9 months ago) by reinoud
Branch: MAIN

Implement gpio framework for the Samsung Exynos series.

Note that only the Exynos4 gpio registers are defined now and provision is
taken to allow for seamlessness adding of Exynos5 values.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>