<jenneron[m]> digetx: sorry, i still don't understand something about clocks
<jenneron[m]> i want to set uartc to 48000000 (default is 1875863) and pwm to 3187500 (default is 48000000). both are children of pllp and seem to divide correctly: 408000000 / 48000000 = 8.5, 408000000 / 3187500 = 128
<jenneron[m]> i'm trying to do it with assigned-clocks binding, but it doesn't change anything in clk_tree. bindings: https://dpaste.com/DGCWTGHXV
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
<digetx> add "tp_printk trace_event=clk_set_rate,clk_set_parent" to kernel cmdline and find where it's changed in code
<jenneron[m]> digetx: https://dpaste.com/52DXGPFCR
<jenneron[m]> am i correct that solving this is basically adding a "clock-frequency" DT property and parsing this in drivers like clock-bindings.txt suggests?
<digetx> I don't understand what you trying to achieve
<digetx> that is pwm controller clock, not output pwm rate
<jenneron[m]> pwm doesn't work correctly (everything except 0 is same brightness), i found that downstream sets custom frequency https://github.com/timduru/tf701t-katkernel/blob/katkiss-7.1/arch/arm/mach-tegra/board-macallan.c#L189
<jenneron[m]> bluetooth fails with failed to write clock error, uartc clock frequency is much lower than one from downstream clk tree (1875863 vs 48000000)
<digetx> uart has internal divider
<jenneron[m]> in addition: if i reboot from android (adb reboot bootloader) uartc frequency is 62769231 and bluetooth goes farther (tries to load firmware)
<digetx> you won't see it in clock tree
<digetx> for pwm you need to set rate using pwms phandle
<digetx> bluetooth and wifi are the same chip, if it's not powered and reset properly on cold boot, then it all won't work
<digetx> uart speed of bluetooth is limited by max-speed in device tree, see bluetooth node of N7 and other devices
<digetx> serial driver will set the rate, so you don't need to touch it, you may change the parent clock
<digetx> you also should use nvidia,tegra114-hsuart for bluetooth, not regular uart
tambre has quit [Quit: ZNC 1.8.2 - https://znc.in]
tambre has joined #tegra
aonbehamut[m] has quit [Ping timeout: 265 seconds]
m4t has quit [Ping timeout: 265 seconds]
kusma has quit [Ping timeout: 265 seconds]
MatrixTravelerb4 has quit [Ping timeout: 265 seconds]
nergzd723[m]1 has quit [Ping timeout: 265 seconds]
thevengefulprinc has quit [Ping timeout: 265 seconds]
pangelo[m] has quit [Ping timeout: 265 seconds]
MatrixTravelerb4 has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
m4t has joined #tegra
aonbehamut[m] has joined #tegra
marvin24 has quit [Ping timeout: 252 seconds]
marvin24_ has joined #tegra
nergzd723[m]1 has joined #tegra
kusma has joined #tegra
pangelo[m] has joined #tegra
thevengefulprinc has joined #tegra
e1z0_ has joined #tegra
e1z0 has quit [Read error: Connection reset by peer]
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
<jenneron[m]> alright, thank you
loki_val has quit [Ping timeout: 276 seconds]
crabbedhaloablut has joined #tegra
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #tegra
e1z0_ has quit [Read error: Connection reset by peer]
e1z0 has joined #tegra
sikhye has joined #tegra
torez has joined #tegra
sikhye has quit [Remote host closed the connection]
sikhye has joined #tegra
digetx has quit [Ping timeout: 245 seconds]
sikhye has quit [Read error: Connection reset by peer]
sikhye has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
digetx has joined #tegra
digetx has quit [Ping timeout: 245 seconds]
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
digetx has joined #tegra
gouchi has joined #tegra
torez has quit [Ping timeout: 245 seconds]
torez has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
gouchi has quit [Remote host closed the connection]
gouchi has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
gouchi has quit [Remote host closed the connection]
torez has quit [Quit: torez]