linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Andy Fleming <afleming@gmail.com>
To: linuxppc-dev@lists.ozlabs.org, scottwood@freescale.com
Cc: aperez@alexperez.com
Subject: [PATCH 2/3] 85xx: Enable gpio power/reset driver
Date: Sun, 23 Oct 2016 18:48:38 -0500	[thread overview]
Message-ID: <1477266519-25173-2-git-send-email-afleming@gmail.com> (raw)
In-Reply-To: <1477266519-25173-1-git-send-email-afleming@gmail.com>

These config changes build:
drivers/power/reset/gpio-poweroff.c
drivers/power/reset/gpio-restart.c

Signed-off-by: Andy Fleming <afleming@gmail.com>
---
 arch/powerpc/configs/fsl-emb-nonhw.config | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/powerpc/configs/fsl-emb-nonhw.config b/arch/powerpc/configs/fsl-emb-nonhw.config
index 1a61e81..cc49c95 100644
--- a/arch/powerpc/configs/fsl-emb-nonhw.config
+++ b/arch/powerpc/configs/fsl-emb-nonhw.config
@@ -44,6 +44,7 @@ CONFIG_FORCE_MAX_ZONEORDER=13
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_FRAME_WARN=1024
 CONFIG_FTL=y
+CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_HFS_FS=m
 CONFIG_HFSPLUS_FS=m
 CONFIG_HIGH_RES_TIMERS=y
@@ -104,8 +105,13 @@ CONFIG_PACKET=y
 CONFIG_PARTITION_ADVANCED=y
 CONFIG_PERF_EVENTS=y
 CONFIG_POSIX_MQUEUE=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_GPIO=y
+CONFIG_POWER_RESET_GPIO_RESTART=y
 CONFIG_QNX4FS_FS=m
 CONFIG_RCU_TRACE=y
+CONFIG_RESET_CONTROLLER=y
 CONFIG_ROOT_NFS=y
 CONFIG_SYSV_FS=m
 CONFIG_SYSVIPC=y
-- 
1.9.1

  reply	other threads:[~2016-10-23 23:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-23 23:48 [PATCH v2 1/3] cyrus: Add poweroff/reset support Andy Fleming
2016-10-23 23:48 ` Andy Fleming [this message]
2016-10-24 16:16   ` Cyrus_5040.dts Misisng luigi burdo
2017-07-05 15:37   ` 85xx: Enable gpio power/reset driver Darren Stevens
2016-10-23 23:48 ` [PATCH 3/3] corenet: Switch to of_platform_default_populate Andy Fleming
2016-10-24 21:43   ` Scott Wood
2016-11-23  7:00 ` [v2,1/3] cyrus: Add poweroff/reset support Scott Wood

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=1477266519-25173-2-git-send-email-afleming@gmail.com \
    --to=afleming@gmail.com \
    --cc=aperez@alexperez.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=scottwood@freescale.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;
as well as URLs for NNTP newsgroup(s).