ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
SallyAhaj has joined #armlinux
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #armlinux
SallyAhaj has quit [Ping timeout: 252 seconds]
apritzel_ has quit [Ping timeout: 264 seconds]
<macromorgan>
is there a proper way to ask a non-SPI driver to do spi_write()s?
<macromorgan>
have a mipi screen that gets the data through DSI but the commands only through SPI
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 268 seconds]
Misotauros has quit [Ping timeout: 268 seconds]
perr has joined #armlinux
perr has quit [Remote host closed the connection]
Misotauros has joined #armlinux
iivanov has joined #armlinux
monstr has joined #armlinux
<hanetzer>
anyone happen to have a handle on a 2x5 2.54mm to 2.0mm pitch shifter I can buy?
perr has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
russ_ has quit [Remote host closed the connection]
russ has joined #armlinux
apritzel_ has joined #armlinux
apritzel_ has quit [Ping timeout: 252 seconds]
viorel1 has joined #armlinux
SallyAhaj has joined #armlinux
txlinux1 has joined #armlinux
txlinux12 has quit [Read error: Connection reset by peer]
SallyAhaj has quit [Quit: Leaving]
iivanov__ has joined #armlinux
Pali has joined #armlinux
iivanov has quit [Ping timeout: 268 seconds]
Pali has quit [Ping timeout: 268 seconds]
alexels has joined #armlinux
sszy has joined #armlinux
SallyAhaj has joined #armlinux
SallyAhaj has quit [Quit: Leaving]
SallyAhaj has joined #armlinux
headless has joined #armlinux
elastic_dog has quit [Ping timeout: 255 seconds]
apritzel has joined #armlinux
SallyAhaj has quit [Quit: Leaving]
SallyAhaj has joined #armlinux
frieder has joined #armlinux
perr has quit [Quit: Leaving]
Sledge_ is now known as Sledge
headless has quit [Quit: Konversation terminated!]
<broonie>
macromorgan: DSI would need to provide a spi_controller
<hanetzer>
nevermind, the pinout on this device isn't a 'standard' 2x5 jtag pinout buu
Misotauros has quit [Ping timeout: 268 seconds]
elastic_dog has joined #armlinux
Misotauros has joined #armlinux
headless has joined #armlinux
apritzel_ has joined #armlinux
apritzel has quit [Read error: Connection reset by peer]
rvalue has quit [Ping timeout: 268 seconds]
<macromorgan>
broonie: Can you elaborate a bit? The BSP version of this driver bitbangs the SPI bus to deliver commands. Presume I'd do some imports of the spi-bitbang driver then (since I doubt kernel devs want me reproducing the same code).
<broonie>
I know nothing about how the hardware is implemented, but if the hardware is providing a SPI controller then the Linux abstraction for that is to register a spi controller.
<macromorgan>
the hardware is an SPI slave
<macromorgan>
It's a Samsung AMOLED panel that can either be controlled with DSI data and DSI commands (like all normal sane hardware) or with DSI data and 3-Wire SPI commands (like my unfortunate implementation).
headless has quit [Quit: Konversation terminated!]
<macromorgan>
I'm trying to think what is mainline-able... Assuming creating it as a mipi_dsi_device, but how to connect it to the SPI bus and define that it the devicetree properly is what I'm trying to figure out.
<macromorgan>
even more funny about my implementation (the Anbernic RG503 handheld gaming device, for reference) is that while the panel's SPI pins are connected to SPI3 of the SoC, the MOSI/MISO pins are backwards so it has to be bitbanged.
<macromorgan>
still, command only data isn't very much data
<broonie>
If the DSI controller is also a SPI controller it should provide a SPI controller.
<broonie>
Though it sounds like it's just connected directly to the SoC so you should just register a GPIO based SPI controller as normal and I don't understand what the question is?
frieder has quit [Remote host closed the connection]
amitk has quit [Ping timeout: 268 seconds]
<macromorgan>
I guess the first question I have that will probably answer the most is this: if the device receives video data via DSI and commands via SPI (making it a client of both), should I register it as an spi_device or as a mipi_dsi_device?
<broonie>
Both.
<broonie>
Assuming DSI needs some kind of software representation I guess.
<macromorgan>
yes
<macromorgan>
the BSP driver I'm dealing with registers it as a mipi_dsi_device, but bypasses the spi stuff entirely by bitbanging
SallyAhaj has quit [Quit: Leaving]
SallyAhaj has joined #armlinux
rvalue has joined #armlinux
<arnd>
broonie: I'm going through all the lines in multi_v7_defconfig that are removed by 'make savedefconfig', and came across 2cc1cd26e913 ("ARM: configs: Enable ASoC AC'97 glue")
<arnd>
CONFIG_SND_SOC_AC97 does not exist in mainline, is that something you are adding in the ASoC tree, or a typo?
<broonie>
It's been removed probably.
<broonie>
It was a thnig.
<arnd>
I can see CONFIG_SND_SOC_AC97_CODEC
Amit_T has joined #armlinux
headless has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
apritzel_ has quit [Ping timeout: 252 seconds]
prabhakarlad has quit [Quit: Client closed]
Pali has joined #armlinux
alexels has quit [Quit: WeeChat 3.6]
russ has quit [Remote host closed the connection]
russ has joined #armlinux
monstr has quit [Remote host closed the connection]
sszy has quit [Ping timeout: 244 seconds]
prabhakarlad has joined #armlinux
hanetzer has quit [Ping timeout: 268 seconds]
hanetzer has joined #armlinux
hanetzer has quit [Ping timeout: 255 seconds]
hanetzer has joined #armlinux
snalty has joined #armlinux
iivanov__ has quit [Quit: Leaving...]
apritzel_ has joined #armlinux
amitk has joined #armlinux
Amit_T has quit [Quit: Leaving]
viorel1 has quit [Quit: WeeChat 3.5]
amitk has quit [Ping timeout: 244 seconds]
headless has quit [Quit: Konversation terminated!]