The NetBSD Project

CVS log for src/sys/arch/arm/omap/Attic/omap2_gpio.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.24, Sat Oct 29 13:37:59 2022 UTC (16 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.23: +2 -2 lines
FILE REMOVED

Remove old OMAP port.

This code was a mess and full of unmaintainable SoC and board specific
ifdefs. A modern devicetree port for OMAP3530 and AM335x based boards
now lives in arch/arm/ti. If someone is interested in bringing back
support for any boards lost in this transition, feel free, but please
do so using the new devicetree based model.

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

Merge thorpej-cfargs2.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:28 2021 UTC (2 years, 10 months 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.21: +3 -3 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Tue Oct 18 14:08:53 2016 UTC (7 years, 5 months ago) by kiyohara
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, 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, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, 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, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

The variable gpio_module[] into #ifdef TI_AM335X - #endif.
Thanks for joerg@.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 18 14:02:48 2016 UTC (7 years, 5 months ago) by kiyohara
Branch: MAIN
Changes since 1.19: +2 -5 lines
Diff to previous 1.19 (colored)

Allow obio_intr == OBIOCF_INTR_DEFAULT.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 15 15:11:56 2016 UTC (7 years, 5 months ago) by kiyohara
Branch: MAIN
Changes since 1.18: +32 -9 lines
Diff to previous 1.18 (colored)

Support TI_AM335X gpio to omap2_gpio.c.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 11 14:53:05 2016 UTC (7 years, 8 months ago) by kiyohara
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.17: +83 -3 lines
Diff to previous 1.17 (colored)

Support OMAP 4430.
tested on Gumstix DuoVero.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 9 15:04:06 2016 UTC (7 years, 8 months ago) by kiyohara
Branch: MAIN
Changes since 1.16: +11 -11 lines
Diff to previous 1.16 (colored)

Remove white-spaces.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 15 21:59:37 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.15: +14 -2 lines
Diff to previous 1.15 (colored)

More OMAP5 support

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 18 01:33:18 2013 UTC (10 years, 11 months ago) by khorben
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

Also support interrupts of type IST_EDGE_BOTH; tested on a Nokia N900 (OMAP3).

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 12 00:33:45 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, agc-symver-base, agc-symver
Changes since 1.13: +60 -4 lines
Diff to previous 1.13 (colored)

Improved USB EHCI support OMAP3 variants.
From jmcneill.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 11 01:54:42 2012 UTC (11 years, 3 months ago) by khorben
Branch: MAIN
Changes since 1.12: +12 -2 lines
Diff to previous 1.12 (colored)

Added kernel option OMAP_3430 to allow easy differentiation between the
BEAGLEBOARD and N900 kernels; otherwise no real change.

Resulting N900 kernel tested with no visible regression.

<gimpy> go for it

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 27 17:17:40 2012 UTC (11 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6, matt-nb6-plus-nbase, matt-nb6-plus-base
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 29 17:48:17 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored)

Add some more OMAP4430 support.
Add defines needed to determine clock rates of OMAP3530/TIAM37XX and
OMAP4430.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Aug 22 22:18:21 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.9: +11 -2 lines
Diff to previous 1.9 (colored)

First pass as supporting the TI DM37XX which is used in the BeagleBoard-XM.
(compile tested but hasn't been run on an actual board).

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 20 12:38:28 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.8: +9 -2 lines
Diff to previous 1.8 (colored)

Add support for the TI AM335x (beaglebone) and the OMAP4430 (pandaboard)

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 1 20:30:21 2011 UTC (12 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 21 17:13:07 2008 UTC (15 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, haad-nbase2, haad-dm-base2, haad-dm-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored)

Switch to CFATTACH_DECL_NEW.  Use device_* accessors.  etc.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 19 06:26:27 2008 UTC (15 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Don't include <machine/atomic.h> since it's not used.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Aug 27 11:03:10 2008 UTC (15 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap
Changes since 1.4: +26 -16 lines
Diff to previous 1.4 (colored)

Cleanup OMAP2 files.  Change most omap2430* to omap2_*.  This is in
preperation for the OMAP 3530 (OMAP 3) support.  Some 3530 definitions
added.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 3 06:17:24 2008 UTC (15 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.3: +2 -5 lines
Diff to previous 1.3 (colored)

Nuke some remaining debug aprint

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:14 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.2: +2 -9 lines
Diff to previous 1.2 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:45 2008 UTC (15 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.1: +395 -0 lines
Diff to previous 1.1 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.1, Mon Jan 28 18:29:07 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2, matt-armv6
FILE REMOVED

file omap2_gpio.c was initially added on branch matt-armv6.

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>