From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752108AbcL2AC2 (ORCPT ); Wed, 28 Dec 2016 19:02:28 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:36391 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751956AbcL2AC0 (ORCPT ); Wed, 28 Dec 2016 19:02:26 -0500 From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: lee.jones@linaro.org, linux@armlinux.org.uk, gregory.clement@free-electrons.com, andrew@lunn.ch, jason@lakedaemon.net, linux-kernel@vger.kernel.org, Florian Fainelli Subject: [PATCH 0/2] ARM: orion5x: Move micon code to a MFD driver Date: Wed, 28 Dec 2016 16:01:35 -0800 Message-Id: <20161229000137.5553-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This patch series removes some duplicate code between the Kurobox and the Terastation Pro 2 since they both use the same on-board microcontroller (micon) attached to their UART1 for system restart. Future patches will add support for the LEDs, temperature, FAN that the micro controller provides. Florian Fainelli (2): mfd: micon: Add Buffalo Kurobox Pro, Terastation II Pro/Live driver ARM: orion5x: Utilize micon MFD driver arch/arm/mach-orion5x/Kconfig | 4 + arch/arm/mach-orion5x/kurobox_pro-setup.c | 149 +++--------------- arch/arm/mach-orion5x/terastation_pro2-setup.c | 149 +++--------------- drivers/mfd/Kconfig | 8 + drivers/mfd/Makefile | 2 + drivers/mfd/micon.c | 204 +++++++++++++++++++++++++ include/linux/platform_data/micon.h | 10 ++ 7 files changed, 264 insertions(+), 262 deletions(-) create mode 100644 drivers/mfd/micon.c create mode 100644 include/linux/platform_data/micon.h -- 2.9.3