From patchwork Wed Sep 20 22:46:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 816584 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pUpMhHbI"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xyFT26FD2z9sBZ for ; Thu, 21 Sep 2017 08:55:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CbScft8YnSX1Opu1Gf2TxmbWo01SxEJ6B1hCDHMRBis=; b=pUpMhHbI0Y1ORv 6xQ/iq2zfHVlDwy8YAIfU4BUo6vtnl4F7Ztw076xXWCVoHTq1grq+43vC/DLttXy5w9JCwRTKLS1M XkS4LbxtoBudUOhx3lPztMEg03f8hKEL66Ihq5pzsf86AFjjEDxQ1pguX2AF+M9mf7bsevG+cZlm5 a7673/6QCjWxjYg7FpyxWO1InS+sDr1qZo5pQ1LbMTyOZL/avUY26VHBb0edVbu5BOLHPUaQmQ1Qi AqfzBKrqlA1XAwudJN6sdCD/ckoBu06FVReggBD9fIh9kX3StV/v3yB76e2CveDRthhAhAb/h7gBI 3z6x3ir74BFCxCEg6U+g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1duntw-0005Cb-H2; Wed, 20 Sep 2017 22:55:28 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dunli-0004um-Pl for linux-arm-kernel@lists.infradead.org; Wed, 20 Sep 2017 22:47:00 +0000 Received: from sampyla.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id CB281822F; Wed, 20 Sep 2017 22:47:14 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Subject: [PATCHv3 00/10] Fix remaining issues to drop more omap platform data Date: Wed, 20 Sep 2017 15:46:11 -0700 Message-Id: <20170920224621.16236-1-tony@atomide.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170920_154658_885819_6C72B908 X-CRM114-Status: GOOD ( 11.80 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, =?utf-8?q?Beno=C3=AEt_Cousson?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi all, Here's v3 of the remaining fixes needed before we can drop omap hwmod platform data for interrupts, dma channels and IO ranges. The earlier trivial dts fixes are now applied and in Linux next. I've reworked the remaining fixes to make use of the ti-sysc interconnect target module binding. We can already this generic binding for the interconnect target modules with no device drivers to idle them on init. So these are based on current Linux next. Regards, Tony Changes since v2: - Drop attempted bindings for devices with no drivers and start using generic ti sysc interconnect target module binding, the bindings for the child devices can be sent separately as needed - Add Tero's pathces for omap4 clkctrl nodes as we need those - Add support for parsing IO ranges from dts if "ti,hwmods" is set and fix-up omap device code to work without platform data for legacy dma and smartreflex - Add minimal ti-sysc driver Changes since v1: - Updated hsi, iss, fdif, gpu, and smartreflex patches based on the subsystem maintainer comments - Added Rob and Mark in Cc for the patches touching binding documentation Tero Kristo (3): ARM: dts: omap4: add fck under timer1 ARM: dts: omap4: add bus functionality to base PRCM nodes ARM: dts: omap4: add clkctrl nodes Tony Lindgren (7): dt-bindings: bus: Minimal TI sysc interconnect target module binding ARM: OMAP2+: Parse module IO range from dts for legacy "ti,hwmods" support ARM: OMAP2+: Populate legacy resources for dma and smartreflex bus: ti-sysc: Add minimal TI sysc interconnect target driver ARM: dts: Add nodes for missing omap4 interconnect target modules ARM: dts: Configure SmartReflex only to idle the interconnect target module ARM: dts: Use ti-sysc module driver for omap4 musb Documentation/devicetree/bindings/bus/ti-sysc.txt | 88 ++++ arch/arm/boot/dts/dra7.dtsi | 26 + arch/arm/boot/dts/omap4.dtsi | 233 ++++++++- arch/arm/boot/dts/omap44xx-clocks.dtsi | 289 +++++++++++ arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-omap2/omap_device.c | 137 ++++-- arch/arm/mach-omap2/omap_device.h | 4 - arch/arm/mach-omap2/omap_hwmod.c | 80 ++- arch/arm/mach-omap2/omap_hwmod.h | 5 + drivers/bus/Kconfig | 7 + drivers/bus/Makefile | 1 + drivers/bus/ti-sysc.c | 571 ++++++++++++++++++++++ 12 files changed, 1380 insertions(+), 62 deletions(-) create mode 100644 Documentation/devicetree/bindings/bus/ti-sysc.txt create mode 100644 drivers/bus/ti-sysc.c