2022-11-09 16:55:32

by Mark Jackson

[permalink] [raw]
Subject: [PATCH 0/5] ARM: dts: nanobone: Fix missing/incorrect features

This patch series updates the NanoBone DTS file to address various missing or
incorrect features.

Mark Jackson (5):
ARM: dts: nanobone: Fix GPIO settings for RTS/CTS pins on UART3 & 4
ARM: dts: nanobone: Enable RS485 mode for UART3 & 4
ARM: dts: nanobone: Enable I2C temperature sensor
ARM: dts: nanobone: Fix GPIO settings for MMC pins
ARM: dts: nanobone: Enable USB host

arch/arm/boot/dts/am335x-nano.dts | 32 +++++++++++++++++++++++++------
1 file changed, 26 insertions(+), 6 deletions(-)

--
2.34.1



2022-11-09 17:22:01

by Mark Jackson

[permalink] [raw]
Subject: [PATCH 3/5] ARM: dts: nanobone: Enable I2C temperature sensor

The NanoBone platform supports a temperature sensor on the I2C bus.

Signed-off-by: Mark Jackson <[email protected]>
---
arch/arm/boot/dts/am335x-nano.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts
index cecc2afaeff4..2be831927af6 100644
--- a/arch/arm/boot/dts/am335x-nano.dts
+++ b/arch/arm/boot/dts/am335x-nano.dts
@@ -212,6 +212,11 @@ &uart5 {
status = "okay";
};

+temperature-sensor@48 {
+ compatible = "lm75";
+ reg = <0x48>;
+};
+
&i2c0 {
status = "okay";
pinctrl-names = "default";
--
2.34.1


2022-11-11 18:48:32

by kernel test robot

[permalink] [raw]
Subject: Re: [PATCH 3/5] ARM: dts: nanobone: Enable I2C temperature sensor

Hi Mark,

I love your patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v6.1-rc4 next-20221111]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Mark-Jackson/ARM-dts-nanobone-Fix-missing-incorrect-features/20221110-001039
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20221109160904.183147-4-mpfj%40newflow.co.uk
patch subject: [PATCH 3/5] ARM: dts: nanobone: Enable I2C temperature sensor
config: arm-randconfig-c033-20221110
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/9680450145373c2afeda388991a4a3929a5dfb60
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Mark-Jackson/ARM-dts-nanobone-Fix-missing-incorrect-features/20221110-001039
git checkout 9680450145373c2afeda388991a4a3929a5dfb60
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/am335x-nano.dts:215.1-22 syntax error
FATAL ERROR: Unable to parse input tree

--
0-DAY CI Kernel Test Service
https://01.org/lkp


Attachments:
(No filename) (1.86 kB)
config (180.29 kB)
Download all attachments