From patchwork Fri Mar 16 16:32:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Leroy X-Patchwork-Id: 886986 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=c-s.fr Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 402rbr6R9Mz9sBt for ; Sat, 17 Mar 2018 03:32:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 93102C21DF9; Fri, 16 Mar 2018 16:32:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 45D91C21DB3; Fri, 16 Mar 2018 16:32:41 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D80A8C21DA6; Fri, 16 Mar 2018 16:32:39 +0000 (UTC) Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) by lists.denx.de (Postfix) with ESMTPS id 86C8CC21C29 for ; Fri, 16 Mar 2018 16:32:39 +0000 (UTC) Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 402rbM1QqNz9tvQd; Fri, 16 Mar 2018 17:32:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id IzntlQ6bMG8E; Fri, 16 Mar 2018 17:32:31 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 402rbM0b4Pz9tvPl; Fri, 16 Mar 2018 17:32:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0C3308BBB1; Fri, 16 Mar 2018 17:32:39 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id ou00gaw3gsz6; Fri, 16 Mar 2018 17:32:38 +0100 (CET) Received: from po15720vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.30]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D972C8BBAA; Fri, 16 Mar 2018 17:32:38 +0100 (CET) Received: by po15720vm.idsi0.si.c-s.fr (Postfix, from userid 0) id CF0426F128; Fri, 16 Mar 2018 17:32:38 +0100 (CET) Message-Id: From: Christophe Leroy To: Tom Rini , Wolfgang Denk , Simon Glass Date: Fri, 16 Mar 2018 17:32:38 +0100 (CET) Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH RFCv2 0/6] Beginning of migration of MPC8xx to DM model X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This serie is the beginning of MPC8xx migration to DM model. It applies on top of the serie "[v4] Powerpc: mpc8xx: cleanup before migration to DM model" Christophe Leroy (6): board: MCR3000: Activate CONFIG_DM and CONFIG_OF_CONTROL drivers: watchdog: add a DM driver for the MPC8xx watchdog board: MCR3000: use new DM watchdog drivers: serial: migrate mpc8xx to DM board: MCR3000: migrate to DM_SERIAL drivers: serial: get rid of non DM mpc8xx driver Change since initial RFC: Migrated serial driver in addition Few changes on the watchdog arch/powerpc/dts/Makefile | 16 ++++++++++ arch/powerpc/dts/mcr3000.dts | 22 ++++++++++++++ board/cssi/MCR3000/MCR3000.c | 16 ++++++++++ board/cssi/MCR3000/u-boot.lds | 6 ++++ configs/MCR3000_defconfig | 6 ++++ drivers/serial/serial.c | 2 -- drivers/serial/serial_mpc8xx.c | 66 ++++++++++++++++++++++-------------------- drivers/watchdog/Kconfig | 7 +++++ drivers/watchdog/mpc8xx_wdt.c | 51 ++++++++++++++++++++++++++++++++ include/configs/MCR3000.h | 1 + include/serial.h | 1 - 11 files changed, 159 insertions(+), 35 deletions(-) create mode 100644 arch/powerpc/dts/Makefile create mode 100644 arch/powerpc/dts/mcr3000.dts