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 3/3] Cyrus: create a defconfig
Date: Tue,  6 Sep 2016 14:11:59 -0500	[thread overview]
Message-ID: <1473189119-29458-4-git-send-email-afleming@gmail.com> (raw)
In-Reply-To: <1473189119-29458-1-git-send-email-afleming@gmail.com>

This sets up the proper config elements for Power and Reset to work
properly (using the gpio pins).

Signed-off-by: Andy Fleming <afleming@gmail.com>
---
 arch/powerpc/Makefile                      | 5 +++++
 arch/powerpc/configs/cyrus_basic_defconfig | 9 +++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 arch/powerpc/configs/cyrus_basic_defconfig

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 1934707..83f257e 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -332,6 +332,11 @@ corenet64_smp_defconfig:
 	$(call merge_into_defconfig,corenet_basic_defconfig,\
 		85xx-64bit 85xx-smp altivec 85xx-hw fsl-emb-nonhw)
 
+PHONY += cyrus_defconfig
+cyrus_defconfig:
+	$(call merge_into_defconfig,cyrus_basic_defconfig,\
+		85xx-64bit 85xx-smp altivec 85xx-hw fsl-emb-nonhw)
+
 PHONY += mpc86xx_defconfig
 mpc86xx_defconfig:
 	$(call merge_into_defconfig,mpc86xx_basic_defconfig,\
diff --git a/arch/powerpc/configs/cyrus_basic_defconfig b/arch/powerpc/configs/cyrus_basic_defconfig
new file mode 100644
index 0000000..975150c
--- /dev/null
+++ b/arch/powerpc/configs/cyrus_basic_defconfig
@@ -0,0 +1,9 @@
+CONFIG_CORENET_GENERIC=y
+CONFIG_USERLIB=y
+CONFIG_GPIO_GENERIC_PLATFORM=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_GPIO=y
+CONFIG_POWER_RESET_GPIO_RESTART=y
+CONFIG_RESET_CONTROLLER=y
+CONFIG_EXT3_FS=y
-- 
1.9.1

  parent reply	other threads:[~2016-09-06 19:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 19:11 [PATCH 0/3] corenet: Add power/reset support to Cyrus Andy Fleming
2016-09-06 19:11 ` [PATCH 1/3] cyrus: Add poweroff/reset support Andy Fleming
2016-09-25  6:44   ` [1/3] " Scott Wood
2016-09-06 19:11 ` [PATCH 2/3] corenet: Support gpio power/reset for corenet Andy Fleming
2016-09-06 22:29   ` Scott Wood
2016-09-10 22:05     ` Andy Fleming
2016-09-12 22:47       ` Scott Wood
2016-09-15  8:03         ` Andy Fleming
2016-09-16 21:05           ` Scott Wood
2016-09-25  6:26             ` Scott Wood
2016-09-06 19:11 ` Andy Fleming [this message]
2016-09-06 20:42   ` [PATCH 3/3] Cyrus: create a defconfig Scott Wood
2016-09-10 22:12     ` Andy Fleming
2016-09-12 17:54       ` Scott Wood
2016-09-13  1:21         ` Michael Ellerman
2016-09-15  8:08         ` Andy Fleming

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=1473189119-29458-4-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).