mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 23:34:40 +07:00
97c2b5cba2
This patch adds a header file of register definitions for Cirrus Logic "Madera" class codecs. These codecs are all based off a common set of hardware IP so have a common register map (with a few minor device-to-device variations). The registers.h file is tool-generated directly from the hardware design but has been manually stripped down to reduce size (full register map is >44000 lines). All names are kept the same as datasheet names so that they can be cross-referenced between source and datasheet without confusion. The register map layout is kept fully-defined rather than factored into macros and/or block-indexing code. The major reasons for this are: - #1 is that it makes the source highly greppable, which is important. "What does the driver do with register bits XYZ" or "Where does it use register bits XYZ" are commonly types of questions. These can be quickly answered by a grep. Squashing definitions into generator macros or block- indexing code is a way of defeating grep. - most of the register definitions are used in tables, so a constant value is required. Using generator macros make the table definition clunky and obscure. - the code is clearer when it's there in the source exactly what register and field it is using - it is easier to diff the register map of a new (unsupported) codec against what is already supported and merge in differences - it makes the register map available in source for maintenance/debugging instead of having to refer back to the datasheet for a register map Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> |
||
---|---|---|
.. | ||
abx500 | ||
arizona | ||
da9052 | ||
da9055 | ||
da9062 | ||
da9063 | ||
da9150 | ||
madera | ||
mt6323 | ||
mt6397 | ||
pcf50633 | ||
samsung | ||
syscon | ||
wm831x | ||
wm8350 | ||
wm8994 | ||
88pm80x.h | ||
88pm860x.h | ||
aat2870.h | ||
ab3100.h | ||
abx500.h | ||
ac100.h | ||
adp5520.h | ||
altera-a10sr.h | ||
as3711.h | ||
as3722.h | ||
asic3.h | ||
atmel-hlcdc.h | ||
axp20x.h | ||
bcm590xx.h | ||
bd9571mwv.h | ||
core.h | ||
cros_ec_commands.h | ||
cros_ec_lpc_mec.h | ||
cros_ec_lpc_reg.h | ||
cros_ec.h | ||
da8xx-cfgchip.h | ||
da903x.h | ||
davinci_voicecodec.h | ||
db8500-prcmu.h | ||
dbx500-prcmu.h | ||
dln2.h | ||
dm355evm_msp.h | ||
ds1wm.h | ||
ezx-pcap.h | ||
hi655x-pmic.h | ||
hi6421-pmic.h | ||
htc-pasic3.h | ||
imx25-tsadc.h | ||
intel_msic.h | ||
intel_soc_pmic_bxtwc.h | ||
intel_soc_pmic.h | ||
ipaq-micro.h | ||
janz.h | ||
kempld.h | ||
lm3533.h | ||
lp873x.h | ||
lp3943.h | ||
lp8788-isink.h | ||
lp8788.h | ||
lp87565.h | ||
lpc_ich.h | ||
max8907.h | ||
max8925.h | ||
max8997-private.h | ||
max8997.h | ||
max8998-private.h | ||
max8998.h | ||
max14577-private.h | ||
max14577.h | ||
max77620.h | ||
max77686-private.h | ||
max77686.h | ||
max77693-common.h | ||
max77693-private.h | ||
max77693.h | ||
max77843-private.h | ||
mc13xxx.h | ||
mc13783.h | ||
mc13892.h | ||
mcp.h | ||
menelaus.h | ||
motorola-cpcap.h | ||
mxs-lradc.h | ||
palmas.h | ||
qcom_rpm.h | ||
rave-sp.h | ||
rc5t583.h | ||
rdc321x.h | ||
retu.h | ||
rk808.h | ||
rn5t618.h | ||
rt5033-private.h | ||
rt5033.h | ||
si476x-core.h | ||
si476x-platform.h | ||
si476x-reports.h | ||
sky81452.h | ||
smsc.h | ||
sta2x11-mfd.h | ||
stm32-lptimer.h | ||
stm32-timers.h | ||
stmpe.h | ||
stw481x.h | ||
sun4i-gpadc.h | ||
syscon.h | ||
t7l66xb.h | ||
tc3589x.h | ||
tc6387xb.h | ||
tc6393xb.h | ||
ti_am335x_tscadc.h | ||
ti-lmu-register.h | ||
ti-lmu.h | ||
tmio.h | ||
tps6105x.h | ||
tps6507x.h | ||
tps6586x.h | ||
tps65010.h | ||
tps65086.h | ||
tps65090.h | ||
tps65217.h | ||
tps65218.h | ||
tps65910.h | ||
tps65912.h | ||
tps68470.h | ||
tps80031.h | ||
twl4030-audio.h | ||
twl6040.h | ||
twl.h | ||
ucb1x00.h | ||
viperboard.h | ||
wl1273-core.h | ||
wm97xx.h | ||
wm8400-audio.h | ||
wm8400-private.h | ||
wm8400.h |