From: Hans de Goede <hdegoede@redhat.com>
To: Randy Dunlap <rdunlap@infradead.org>,
Darren Hart <dvhart@infradead.org>,
Andy Shevchenko <andy@infradead.org>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Mathias Nyman <mathias.nyman@intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Guenter Roeck <linux@roeck-us.net>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH v2 12/12] extcon: axp288: Set USB role where necessary
Date: Mon, 26 Feb 2018 09:07:42 +0100 [thread overview]
Message-ID: <478db279-c9c6-7fd2-b275-88789631cbda@redhat.com> (raw)
In-Reply-To: <2e3c62b0-0d9b-4d30-654b-750055e6f515@infradead.org>
Hi,
On 25-02-18 19:51, Randy Dunlap wrote:
> Hi,
>
> On 02/25/2018 07:25 AM, Hans de Goede wrote:
>
>> diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
>> index a7bca4207f44..de15bf55895b 100644
>> --- a/drivers/extcon/Kconfig
>> +++ b/drivers/extcon/Kconfig
>> @@ -30,7 +30,8 @@ config EXTCON_ARIZONA
>>
>> config EXTCON_AXP288
>> tristate "X-Power AXP288 EXTCON support"
>> - depends on MFD_AXP20X && USB_PHY
>> + depends on MFD_AXP20X && USB_SUPPORT && X86
>
> Could that be:
> depends on MFD_AXP20X && USB_SUPPORT && (X86 || COMPILE_TEST)
>
> or is there some reason that it won't even build on other $ARCH?
It uses:
#include <asm/cpu_device_id.h>
#include <asm/intel-family.h>
So it really should only be build on X86, it always was an X86 only
driver, but it now it really depends on X86.
Thank you for all the reviews. I will prepare a v3 with all your
proposed fixes soon(ish).
Regards,
Hans
>> + select USB_ROLE_SWITCH
>> help
>> Say Y here to enable support for USB peripheral detection
>> and USB MUX switching by X-Power AXP288 PMIC.
>
> thanks,
>
prev parent reply other threads:[~2018-02-26 8:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-25 15:24 [PATCH v2 00/12] USB Type-C device-connection, mux and switch support Hans de Goede
2018-02-25 15:24 ` [PATCH v2 01/12] drivers: base: Unified device connection lookup Hans de Goede
2018-02-25 19:04 ` Randy Dunlap
2018-02-25 15:25 ` [PATCH v2 02/12] usb: typec: Start using ERR_PTR Hans de Goede
2018-02-25 21:38 ` Guenter Roeck
2018-02-25 15:25 ` [PATCH v2 03/12] usb: typec: API for controlling USB Type-C Multiplexers Hans de Goede
2018-02-25 19:22 ` Randy Dunlap
2018-02-25 15:25 ` [PATCH v2 04/12] usb: common: Small class for USB role switches Hans de Goede
2018-02-25 15:25 ` [PATCH v2 05/12] usb: typec: tcpm: Set USB role switch to device mode when configured as such Hans de Goede
2018-02-25 21:33 ` Guenter Roeck
2018-02-25 15:25 ` [PATCH v2 06/12] usb: typec: tcpm: Use new Type-C switch/mux and usb-role-switch functions Hans de Goede
2018-02-25 21:38 ` Guenter Roeck
2018-02-25 15:25 ` [PATCH v2 07/12] xhci: Add option to get next extended capability in list by passing id = 0 Hans de Goede
2018-02-25 15:25 ` [PATCH v2 08/12] xhci: Add Intel extended cap / otg phy mux handling Hans de Goede
2018-02-25 15:25 ` [PATCH v2 09/12] usb: roles: Add Intel xHCI USB role switch driver Hans de Goede
2018-02-25 18:48 ` Randy Dunlap
2018-02-25 15:25 ` [PATCH v2 10/12] usb: typec: driver for Pericom PI3USB30532 Type-C cross switch Hans de Goede
2018-02-25 15:25 ` [PATCH v2 11/12] platform/x86: intel_cht_int33fe: Add device connections for the Type-C port Hans de Goede
2018-02-25 15:25 ` [PATCH v2 12/12] extcon: axp288: Set USB role where necessary Hans de Goede
2018-02-25 18:51 ` Randy Dunlap
2018-02-26 8:07 ` Hans de Goede [this message]
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=478db279-c9c6-7fd2-b275-88789631cbda@redhat.com \
--to=hdegoede@redhat.com \
--cc=andy@infradead.org \
--cc=cw00.choi@samsung.com \
--cc=dvhart@infradead.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mathias.nyman@intel.com \
--cc=myungjoo.ham@samsung.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rdunlap@infradead.org \
/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®