CVS log for src/sys/arch/arm/rockchip/rk_i2c.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / rockchip
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Nov 13 01:08:15 2021 UTC (2 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -4
lines
Match rockchip,rk3288-i2c
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Nov 12 22:02:08 2021 UTC (2 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +18 -7
lines
arm: rockchip: Add support for RK3288 SoC.
The Rockchip RK3288 is a quad core Cortex-A17 SoC.
Revision 1.10.14.1: download - view: text, markup, annotated - select for diffs
Mon Aug 9 00:30:07 2021 UTC (3 years, 2 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +7 -3
lines
Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.
Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Wed May 19 03:14:24 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +8 -3
lines
fdtbus_attach_i2cbus() is no longer anything other than a wrapper around
config_found(); just get rid of it and make its callers look like all of
the other I2C controller drivers.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:18 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.8.2.1: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +6 -6
lines
Sync with HEAD.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:19 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -6
lines
Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().
Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 3 16:34:52 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -15
lines
Sync w/ HEAD.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Dec 23 16:02:11 2020 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -15
lines
Change fdtbus_register_i2c_controller() to directly register the i2c_tag_t,
rather than the device and a set of functions (the only of which was to
return the i2c_tag_t anyway). Previously, this assumed only a single
i2c controller node per device_t, which is not true with an i2c mux.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Sep 19 18:19:09 2020 UTC (4 years, 1 month ago) by ryo
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -2
lines
fix to work on big endian
Revision 1.4.4.4: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:37 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.4.4.3: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.3: +42 -25
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.4.4.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:30 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.4.4.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.2: +3 -29
lines
Merge changes from current as of 20200406
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Dec 22 23:23:29 2019 UTC (4 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -29
lines
Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.
Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().
Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Sat Nov 16 16:48:25 2019 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +36 -15
lines
Pull up following revision(s) (requested by jmcneill in ticket #427):
sys/dev/ic/dw_hdmi_phy.c: revision 1.2
sys/dev/ic/dw_hdmi.c: revision 1.4
sys/dev/fdt/ausoc.c: revision 1.5
sys/dev/ic/dw_hdmi.h: revision 1.2
sys/dev/ic/dw_hdmi.h: revision 1.3
sys/dev/ic/dw_hdmi.h: revision 1.4
sys/conf/files: revision 1.1242
sys/dev/fdt/fdtvar.h: revision 1.57
sys/arch/arm/rockchip/rk3399_cru.c: revision 1.11
sys/arch/arm/rockchip/rk3399_cru.c: revision 1.12
sys/arch/arm/rockchip/rk3399_cru.c: revision 1.13
sys/arch/evbarm/conf/GENERIC64: revision 1.110
sys/arch/arm/rockchip/rk_drm.c: revision 1.1
sys/arch/arm/rockchip/rk_drm.c: revision 1.2
sys/arch/evbarm/conf/GENERIC64: revision 1.112
sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.1
sys/dev/fdt/fdt_clock.c: revision 1.10
sys/arch/evbarm/conf/GENERIC64: revision 1.113
sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.2
sys/arch/arm/rockchip/rk_drm.h: revision 1.1
sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.3
sys/arch/arm/rockchip/rk_fb.c: revision 1.1
sys/arch/arm/dts/rk3399-rockpro64.dts: revision 1.9
sys/arch/arm/rockchip/rk_vop.c: revision 1.1
sys/arch/arm/rockchip/rk_vop.c: revision 1.2
sys/arch/arm/rockchip/rk_i2c.c: revision 1.6
sys/arch/arm/rockchip/rk_cru.h: revision 1.6
sys/arch/arm/rockchip/rk_cru.h: revision 1.7
sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.4
sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.5
sys/arch/arm/rockchip/files.rockchip: revision 1.21
sys/arch/arm/rockchip/rk_i2s.c: revision 1.1
sys/arch/arm/rockchip/files.rockchip: revision 1.22
sys/dev/ic/dw_hdmi.c: revision 1.2
sys/dev/ic/dw_hdmi_phy.c: revision 1.1
sys/dev/ic/dw_hdmi.c: revision 1.3
Support reads of more than 32 bytes in a single xfer.
Add support for internal DesignWare HDMI PHYs
Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts
Add HDMI and VOP clocks
WIP display driver for Rockchip RK3399
Add (commented out) Rockchip display support
Select the correct MPLL and PHY settings for the requested pixel clock
Force DCLK_VOP0/1 dividers to 1 and select closest match when setting PLL
rates.
Fix typo in phy config table
Fix a few swapped fields
Remove debug output
Enable Rockchip display support
Set sysclk rate at set_format time, so the link set_format callback can read the new sysclk
Add I2S audio input support.
Add software volume controls.
Add support for I2S clocks.
Add driver for Rockchip I2S/PCM controller.
Enable HDMI audio on ROCKPro64
Add rki2s
Add audio support
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 8 00:35:16 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +36 -15
lines
Support reads of more than 32 bytes in a single xfer.
Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Tue Sep 24 02:50:36 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-9
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -16
lines
Pull up following revision(s) (requested by tnn in ticket #235):
sys/arch/arm/rockchip/rk_i2c.c: revision 1.5
rkiic: coalesce smbus-style writes into a single transaction
There seems to be a hw controller bug. Split cmd/data writes caused corrupt
transfers, with junk bytes witten into the rk808 pmic registers.
This may have caused us to operate with out-of-spec core voltage.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Sep 18 12:49:34 2019 UTC (5 years, 1 month ago) by tnn
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -16
lines
rkiic: coalesce smbus-style writes into a single transaction
There seems to be a hw controller bug. Split cmd/data writes caused corrupt
transfers, with junk bytes witten into the rk808 pmic registers.
This may have caused us to operate with out-of-spec core voltage.
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:55 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.1: +437 -0
lines
Sync with HEAD
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:27 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +6 -4
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.4.4.1
Sun Sep 2 10:07:17 2018 UTC (6 years, 2 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.4: +0 -437
lines
file rk_i2c.c was added on branch phil-wifi on 2019-06-10 22:05:55 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Sep 2 10:07:17 2018 UTC (6 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi,
netbsd-9
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2
lines
Process assigned-clocks
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 2 01:16:03 2018 UTC (6 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Calculate i2c divisor based on sclk not pclk
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Sep 2 00:48:12 2018 UTC (6 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
Send an ACK after the last byte is received
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:29 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +435 -0
lines
Sync with HEAD
Revision 1.1.2.1
Sun Jul 1 18:16:58 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.1: +0 -435
lines
file rk_i2c.c was added on branch pgoyette-compat on 2018-07-28 04:37:29 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 18:16:58 2018 UTC (6 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-0728
Branch point for: pgoyette-compat
Add driver for Rockchip I2C controller.
CVSweb <webmaster@jp.NetBSD.org>