Commit Graph

7 Commits

Author SHA1 Message Date
Erwan Gouriou 6b23044f4f boards: shields: fix indentation issues
Fix indentation issues in shield overlays seen when reviewing
previous commit.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-10-03 10:16:57 +02:00
Erwan Gouriou 07b642d94f boards: shields: Update node_label according to new naming scheme
Update existing shields to conform with new node label naming scheme.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-10-03 10:16:57 +02:00
Maureen Helm 7ae7577145 boards: shields: Append accel/magn sensor nodelabels with bus address
Devicetree aliases, accel0 and magn0, were recently introduced to enable
sensor sample applications to support multiple sensor drivers of the
same type and thereby reduce the number of driver-specific sensor sample
applications.

This was implemented by adding devicetree nodelabels to accelerometer
and magnetometer sensor nodes, which unfortunately can suffer from
naming conflicts when using shield boards. Fix the problem by appending
the I2C bus address or SPI chip select to the devicetree nodelabel for
sensor nodes on shield boards only. Base boards are left alone to keep
their nodelabels as short as possible.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-08-10 12:00:24 +02:00
TOKITA Hiroshi 8277efb96c boards: Set devicetree alias for NXP FXOS8700 and compatible nodes
Set accel0 alias for all boards with the FXOS8700 and compatible
accelerometer to use by the accel_polling sample.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2022-08-04 09:06:57 -05:00
Kumar Gala f80b2519fc boards: shields: Remove label property from devicetrees
Label properties are not required.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-02 09:12:21 +02:00
Maureen Helm 64de633b2e boards: Set magnetometer devicetree alias for fxos8700 nodes
Sets a magnetometer devicetree alias for all boards that contain the
FXOS8700 sensor to enable the magn_polling sample application.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-07-02 06:03:33 -04:00
Ryan Holleran fea20bcb88 shields: Add the frdm_stbc_agm01 shield.
The frdm_stbc_agm01 implements an fxos8700 and fxas21002 to provide
a 9-axis sensor solution.

Signed-off-by: Ryan Holleran <rhollerar@gmail.com>
2021-02-16 16:24:18 -06:00