Home | History | Annotate | Download | only in samsung
History log of /src/sys/arch/arm/samsung/exynos_var.h
RevisionDateAuthorComments
 1.29  18-Jan-2021  thorpej 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.
 1.28  20-Mar-2020  skrll branches: 1.28.4;
Support Exynos 5410 GPIO
 1.27  08-Oct-2018  skrll branches: 1.27.4;
Remove a build dependency on SOC_EXYNOS4 and SOC_EXYNOS5. Now runtime.
 1.26  14-Sep-2018  skrll exynos_bootstrap doesn't need an argument
 1.25  19-Aug-2018  skrll Some changes to bring back exynos4 support and make exynos5 support more
modern/generic

- Provide a exynos_platform_early_putchar based on CONSADDR and remove
EXYNOS_CONSOLE_EARLY
- Provide devmaps for exynos4 and exynos5
- Simplify exynos_bootstrap
- Update exynos_start.S to use exynos_platform_early_putchar - this
needs a fix in a9_subr.S for arm_cpuinit to save lr in a callee save
register and not use ip. Maybe this change is safe now, but too much
testing required to commit it now.
 1.24  02-Jul-2018  jmcneill Make the pinctrl driver actually work.
 1.23  30-Dec-2015  marty branches: 1.23.16; 1.23.18;
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.
 1.22  24-Dec-2015  marty XU4 GPIO Review Changes

Implement suggestions from Jared.
 1.21  19-Dec-2015  marty 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)
 1.20  15-Dec-2015  marty XU4 FDT -- fix bus tags

I got away with not having the generic bus tags for getting minimum fdt to
work; but for real drivers have to actually have them. Make necessary
corrections.
 1.19  11-Dec-2015  marty 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.
 1.18  30-Sep-2014  reinoud branches: 1.18.2;
arch/arm/samsung/ cleanup : move SoC specific power and phy routines into
exynos_soc.c and move Odroid board specific tweaks to odroid_machdep.c
 1.17  30-Sep-2014  reinoud Provide exynos_sysreg_bsh as a global bus_space_subregion
 1.16  29-Sep-2014  reinoud Phase 2 of samsung/exynos_* cleanup
 1.15  05-Sep-2014  skrll RCSId police
 1.14  02-Sep-2014  reinoud Add CPU descriminator _P() for Exynos 5422
 1.13  28-Aug-2014  reinoud Implement CPU speed control for Exynos4 and Exynos5 CPUs using APLL frequency
adjustment.
 1.12  11-Jun-2014  reinoud branches: 1.12.2; 1.12.4; 1.12.6;
Remove the exyo_usb_locinfo structure as exyousb becomes usb2 only
 1.11  06-Jun-2014  reinoud Revisit Exynos USB system implementing usb2phy support for Exynos4.
 1.10  21-May-2014  reinoud branches: 1.10.2;
Rework USB2 attachment using a dedicated usb devices locator. This allows for
the more tightly coupled Exynos{4,5} usb2/usb2otg/usb3 controllers to share
memory spaces and IRQs

Note, currently only USB2 host is implemented.
 1.9  16-May-2014  reinoud branches: 1.9.2;
Add i2c locators, add a i2c bus indexer and provide function prototype for the
pinset to pindata function.
 1.8  10-May-2014  reinoud Implement evbarm_device_register_post_config() hook for odroid and its
decendents. This allows post attach actions on every level of the machine
support.
 1.7  10-May-2014  reinoud Change int->void
sorry about the noise
 1.6  10-May-2014  reinoud Add exynos_gpio_pindata_ctl() analog to _pindata__read() and _pindata_write()
 1.5  09-May-2014  reinoud 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.
 1.4  29-Apr-2014  reinoud Commit initial USB adapter support and associated DMA tags
 1.3  13-Apr-2014  reinoud Remove trustzone firmware indirect calls by explicit calling the exynos
routines in exynos_soc.c

While here, also remove unused variable conaddr
 1.2  13-Apr-2014  reinoud Redefine IS_EXYNOS4_P() to check for the product family instead of summing up
variants
 1.1  13-Apr-2014  matt Add initial support for the ODROID-XU and ODROID-U3.
Still a work in progress. Started by nick and reinoud.
 1.9.2.2  18-May-2014  rmind sync with head
 1.9.2.1  16-May-2014  rmind file exynos_var.h was added on branch rmind-smpnet on 2014-05-18 17:44:59 +0000
 1.10.2.2  22-May-2014  yamt 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")
 1.10.2.1  21-May-2014  yamt file exynos_var.h was added on branch yamt-pagecache on 2014-05-22 11:39:34 +0000
 1.12.6.3  03-Dec-2017  jdolecek update from HEAD
 1.12.6.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.6.1  11-Jun-2014  tls file exynos_var.h was added on branch tls-maxphys on 2014-08-20 00:02:47 +0000
 1.12.4.1  04-Jan-2015  martin 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.
 1.12.2.2  10-Aug-2014  tls Rebase.
 1.12.2.1  11-Jun-2014  tls file exynos_var.h was added on branch tls-earlyentropy on 2014-08-10 06:53:52 +0000
 1.18.2.2  19-Mar-2016  skrll Sync with HEAD
 1.18.2.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.23.18.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.23.18.1  10-Jun-2019  christos Sync with HEAD
 1.23.16.4  20-Oct-2018  pgoyette Sync with head
 1.23.16.3  30-Sep-2018  pgoyette Ssync with HEAD
 1.23.16.2  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.23.16.1  28-Jul-2018  pgoyette Sync with HEAD
 1.27.4.1  21-Mar-2020  martin 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
 1.28.4.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed