History log of /freebsd-11-stable/sys/dev/extres/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
337705 13-Aug-2018 mmel

MFC r335249:

Fix handling of enable counter for shared GPIO line in fixed regulator.

332025 04-Apr-2018 mmel

MFC r328201:

Convert extres/phy to kobj model. Similarly as other extres pseudo-drivers,
implement phy by using kobj model. This detaches it from provider device, so
single device driver can export multiple different phys. Additionally, this
allows phy to be subclassed to more specialized drivers, like is USB OTG phy,
or PCIe phy with hot-plug capability.

331974 04-Apr-2018 mmel

MFC r330074:

Define meaning of remaining clock rounding flags combinations.

331175 19-Mar-2018 eadler

MFC r328586:

Use more verbose panic messages.

317009 16-Apr-2017 mmel

MFC r309537:

Clock framework fixes:
- The clk_test_freq() (aka CLK_SET_DRYRUN) doesn't change frequency,
don't cache it result.
- Fix busy condition for clk_set_freq().

309769 09-Dec-2016 manu

MFC r308298, r308440

r308298:
Add clk_set_assigned

assigned-clock-parents are DT properties used to configure
some default parent clocks on one node.

Reviewed by: mmel

r308440:
Do not warn if the 'assigned-clock-parents' property does not exists.

308328 05-Nov-2016 mmel

MFC r307558:

REGULATOR: Move functions for handling with regulator ranges to common file.
They can be useful for other PMICs.

308324 05-Nov-2016 mmel

MFC r302523,r302528:

r302523:
Add clk_get_by_ofw_node_index, which is like clk_get_by_ofw_index but
operates on a specific OF node instead of the pass in device's OF node.
r302528:
EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions.
In some cases, the driver must handle given properties located in specific
OF subnode. Instead of creating duplicate set of function, add 'node' as
argument to existing functions, defaulting it to device OF node.


/freebsd-11-stable/sys/arm/allwinner/a10_ahci.c
/freebsd-11-stable/sys/arm/allwinner/a10_codec.c
/freebsd-11-stable/sys/arm/allwinner/a10_dmac.c
/freebsd-11-stable/sys/arm/allwinner/a10_ehci.c
/freebsd-11-stable/sys/arm/allwinner/a10_fb.c
/freebsd-11-stable/sys/arm/allwinner/a10_gpio.c
/freebsd-11-stable/sys/arm/allwinner/a10_hdmi.c
/freebsd-11-stable/sys/arm/allwinner/a10_mmc.c
/freebsd-11-stable/sys/arm/allwinner/aw_if_dwc.c
/freebsd-11-stable/sys/arm/allwinner/aw_rsb.c
/freebsd-11-stable/sys/arm/allwinner/aw_usbphy.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_ahbclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_apbclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_axiclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_codecclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_cpuclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_cpusclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_debeclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_gate.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_gmacclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_hdmiclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_lcdclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_mmcclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_modclk.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_pll.c
/freebsd-11-stable/sys/arm/allwinner/clk/aw_usbclk.c
/freebsd-11-stable/sys/arm/allwinner/if_awg.c
/freebsd-11-stable/sys/arm/allwinner/if_emac.c
/freebsd-11-stable/sys/arm/nvidia/tegra124/tegra124_cpufreq.c
/freebsd-11-stable/sys/arm/nvidia/tegra124/tegra124_pmc.c
/freebsd-11-stable/sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
/freebsd-11-stable/sys/arm/nvidia/tegra_ahci.c
/freebsd-11-stable/sys/arm/nvidia/tegra_efuse.c
/freebsd-11-stable/sys/arm/nvidia/tegra_ehci.c
/freebsd-11-stable/sys/arm/nvidia/tegra_i2c.c
/freebsd-11-stable/sys/arm/nvidia/tegra_pcie.c
/freebsd-11-stable/sys/arm/nvidia/tegra_rtc.c
/freebsd-11-stable/sys/arm/nvidia/tegra_sdhci.c
/freebsd-11-stable/sys/arm/nvidia/tegra_soctherm.c
/freebsd-11-stable/sys/arm/nvidia/tegra_uart.c
/freebsd-11-stable/sys/arm/nvidia/tegra_usbphy.c
/freebsd-11-stable/sys/dev/dwc/if_dwc.c
clk/clk.c
clk/clk.h
clk/clk_fixed.c
hwreset/hwreset.c
hwreset/hwreset.h
phy/phy.c
phy/phy.h
regulator/regulator.c
regulator/regulator.h
/freebsd-11-stable/sys/dev/iicbus/twsi/a10_twsi.c
/freebsd-11-stable/sys/dev/uart/uart_dev_snps.c
/freebsd-11-stable/sys/dev/usb/controller/generic_ohci.c
302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
300750 26-May-2016 ian

Rename gpiobus_map_pin() to gpiobus_acquire_pin(), to better reflect the
fact that the caller is requesting exclusive use of the pin, and also to
better match the inverse operation which is named gpiobus_release_pin().


299714 14-May-2016 gonzo

Use OF_prop_free instead of direct call to free(9)

Reviewed by: mmel@


297550 04-Apr-2016 andrew

Fix a format string when uint64_t is not unsigned long long by casting
through uintmax_t.


297350 28-Mar-2016 jmcneill

Pass clkdev_if methods through to parent device by default.

Reviewed by: mmel, adrian (mentor)
Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D5750


297328 27-Mar-2016 kan

Do nothing if requested clk frequency is already correct.

Reviewed by: mmel


297215 23-Mar-2016 jmcneill

Fix support for fixed factor clocks.
- Use a different device description for fixed and fixed factor clocks.
- Fix a bug where the "clock-div" property was stored in the "mult" field
of the clock definition.
- Get the fixed factor parent clock by index instead of by name, as a
clock-names property is not required to be present here.

Reviewed by: mmel, adrian (mentor)
Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D5703


297214 23-Mar-2016 jmcneill

clk_parse_ofw_out_names is supposed to return a list of indices when the
clock-indices property is present, so change the "uint32_t *indices" parameter
to "uint32_t **indices" to allow this.

Reviewed by: mmel, adrian (mentor)
Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D5702


297213 23-Mar-2016 jmcneill

Return BUS_PROBE_GENERIC instead of 0 from ofw_clkbus_probe, giving
platform specific drivers a chance to override the generic driver.

Reviewed by: mmel, adrian (mentor)
Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D5701


296907 15-Mar-2016 mmel

Add phy framework, a next part of new 'extended resources' family of
support frameworks (i.e. clk/regulators/tsensors/fuses...).

It provides simple unified consumers interface for manipulations with
phy (USB/SATA/PCIe) resources.


296906 15-Mar-2016 mmel

Add regulator framework, a next part of new 'extended resources' family of
support frameworks(i.e. clk/reset/phy/tsensors/fuses...).

The framework is still far from perfect and probably doesn't have stable
interface yet, but we want to start testing it on more real boards and
different architectures.


296905 15-Mar-2016 mmel

CLK: Add and use explicit locking for access to clock device registers.
Implicit locking (for read/write/modify) is not sufficient for complex
cases.


296904 15-Mar-2016 mmel

CLK: Add enumerator for 'clocks' OFW node. Add bus device bindings
for clk_fixed class.


296903 15-Mar-2016 mmel

CLK: Remove forgotten mutex from clk_fixed class.


294661 24-Jan-2016 mmel

Add reset framework, a second part of new 'extended resources' family of
support frameworks (i.e. regulators/phy/tsensors/fuses...).

It provides simple unified consumers interface for manipulations with
on-chip resets.

Reviewed by: ian, imp (paritaly)


294660 24-Jan-2016 mmel

Add clock framework, a first part of new 'extended resources' family of
support frameworks(i.e. reset/regulators/phy/tsensors/fuses...).

The clock framework significantly simplifies handling of complex clock
structures found in modern SoCs. It provides the unified consumers
interface, holds and manages actual clock topology, frequency and gating.

It's tested on three different ARM boards (Nvidia Tegra TK1, Inforce 6410 and
Odroid XU2) and on one MIPS board (Creator Ci20) by kan@.

The framework is still far from perfect and probably doesn't have stable
interface yet, but we want to start testing it on more real boards and
different architectures.

Reviewed by: ian, kan (earlier version)