Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: linux-hwmon@vger.kernel.org
Cc: Eddie James <eajames@linux.ibm.com>, Guenter Roeck <linux@roeck-us.net>
Subject: [PATCH v2 2/2] hwmon: OCC drivers are ARM-only
Date: Wed, 10 Apr 2019 12:56:35 +0200	[thread overview]
Message-ID: <20190410125635.5610857b@endymion> (raw)
In-Reply-To: <20190410124726.2d7e9d38@endymion>

These drivers are for a BMC inside PowerPC servers. The BMC runs on
ARM hardware, so only propose the drivers on this architecture, unless
build-testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Eddie James <eajames@linux.ibm.com>
Cc: Guenter Roeck <linux@roeck-us.net>
---
If PowerPC BMCs are ever based on another architecture and these drivers
are compatible with them, then the list can be extended.

 drivers/hwmon/occ/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

--- linux-5.0.orig/drivers/hwmon/occ/Kconfig	2019-04-10 11:54:07.014895111 +0200
+++ linux-5.0/drivers/hwmon/occ/Kconfig	2019-04-10 12:12:27.379725640 +0200
@@ -5,6 +5,7 @@
 config SENSORS_OCC_P8_I2C
 	tristate "POWER8 OCC through I2C"
 	depends on I2C
+	depends on ARM || ARM64 || COMPILE_TEST
 	select SENSORS_OCC
 	help
 	 This option enables support for monitoring sensors provided by the
@@ -17,6 +18,7 @@ config SENSORS_OCC_P8_I2C
 config SENSORS_OCC_P9_SBE
 	tristate "POWER9 OCC through SBE"
 	depends on FSI_OCC
+	depends on ARM || ARM64 || COMPILE_TEST
 	select SENSORS_OCC
 	help
 	 This option enables support for monitoring sensors provided by the

-- 
Jean Delvare
SUSE L3 Support

  reply	other threads:[~2019-04-10 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10 10:47 [PATCH v2 1/2] hwmon: (occ) Move common code to a separate module Jean Delvare
2019-04-10 10:56 ` Jean Delvare [this message]
2019-04-10 18:03   ` [PATCH v2 2/2] hwmon: OCC drivers are ARM-only Eddie James
2019-04-10 18:02 ` [PATCH v2 1/2] hwmon: (occ) Move common code to a separate module Eddie James
2019-04-11 11:03   ` Jean Delvare
2019-04-10 18:21 ` Guenter Roeck
2019-04-10 18:25   ` Guenter Roeck

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=20190410125635.5610857b@endymion \
    --to=jdelvare@suse.de \
    --cc=eajames@linux.ibm.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /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