From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: Sven Van Asbroeck <thesven73@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
Mark Brown <broonie@kernel.org>
Cc: linux-spi <linux-spi@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>
Subject: SPI not working on 5.10 and 5.11, bisected to 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
Date: Wed, 13 Jan 2021 09:49:12 +0100 [thread overview]
Message-ID: <dc5d8d35-31aa-b36d-72b0-17c8a7c13061@csgroup.eu> (raw)
Hello,
My board has powerpc 885 microcontroler. Temperature sensor is an LM74.
Kernel has CONFIG_SPI_FSL_SPI and CONFIG_SPI_FSL_CPM and CONFIG_SENSORS_LM70.
Since kernel 5.10, 'sensors' reports temperature 0°C on my board:
root@vgoip:~# sensors
lm74-spi-0-5
Adapter: SPI adapter
temp1: +0.0 C
lm74-spi-0-1
Adapter: SPI adapter
temp1: +0.0 C
With commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors") reverted,
it is back to work:
root@vgoip:~# sensors
lm74-spi-0-5
Adapter: SPI adapter
temp1: +38.9 C
lm74-spi-0-1
Adapter: SPI adapter
temp1: +37.2 C
What shall I do ?
Thanks
Christophe
next reply other threads:[~2021-01-13 8:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 8:49 Christophe Leroy [this message]
2021-01-13 12:33 ` Mark Brown
2021-01-14 11:27 ` Christophe Leroy
2021-01-14 11:59 ` Mark Brown
2021-01-14 12:33 ` Christophe Leroy
2021-01-14 13:22 ` Mark Brown
2021-01-14 13:42 ` Christophe Leroy
2021-01-14 13:59 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dc5d8d35-31aa-b36d-72b0-17c8a7c13061@csgroup.eu \
--to=christophe.leroy@csgroup.eu \
--cc=broonie@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=thesven73@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®