From patchwork Fri Dec 15 18:08:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 849341 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="F2sLDSTR"; 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 3yyz5q4v7Vz9t9l for ; Sat, 16 Dec 2017 05:11:43 +1100 (AEDT) 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=s3uUPkNShkMR0q8FZREWwrV/dDM/BdU5NIcvLdUPSlA=; b=F2sLDSTRBW+pfH Th0SNGA4iy+IvFnTxB0NtdV52Bw5SDIi+oYcW+gNqkJvtewOOjal+0eRTZOfXSQPrcAuX/uWEA67j 6CH+gqBrIF6PJZw6tj6f1NP5PxIjIFljJen5ze7M0Yf+4sQvZwbyvm109zzydOlJdGR/QBxYiDqxc 2H/KMEBYi5M5gkFd9B8N4tfekHc2bl+8CnEDEuUAe8czEq35lt5ydwJoSLcS9cuxdcFoTIMiKePRl uSnOUp4VKodD8bfWPEtS9M0/CmN+5JdJvlOseDOivPM2mvCwUaJ2KwkKyE0nVSfTRSOWG1DK7wEe/ XJMU+tG/576NjlfCVDVg==; 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 1ePuRy-0001CA-QJ; Fri, 15 Dec 2017 18:11:10 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ePuQi-0007Lw-5u for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2017 18:10:07 +0000 Received: from sampyla.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id E63268022; Fri, 15 Dec 2017 18:11:38 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Subject: [PATCH 0/9] Update ti-sysc driver to use dts for capabilities Date: Fri, 15 Dec 2017 10:08:51 -0800 Message-Id: <20171215180900.3243-1-tony@atomide.com> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_100952_825469_0279EFE8 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. 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: Nishanth Menon , devicetree@vger.kernel.org, Paul Walmsley , Dave Gerlach , linux-kernel@vger.kernel.org, Tero Kristo , =?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 are patches for review to update ti-sysc binding and driver to get interconnect target module capabilities from device tree. After this series I'll be posting another series to dynamically allocate struct omap_hwmod_class_sysconfig based on device tree data instead of the current platform data. These patches are against v4.15-rc series with the last patch depending on the clkctrl nodes in Linux next. Regards, Tony Tony Lindgren (9): dt-bindings: ti-sysc: Update binding for timers and capabilities ARM: dts: Add generic ti,sysc compatible in addition to the custom ones ARM: OMAP2+: Move all omap_hwmod_sysc_fields to omap_hwmod_common_data.c bus: ti-sysc: Make omap_hwmod_sysc_fields into sysc_regbits platform data bus: ti-sysc: Add register bits for interconnect target modules bus: ti-sysc: Detect i2c interconnect target module based on register layout bus: ti-sysc: Handle module quirks based dts configuration bus: ti-sysc: Add parsing of module capabilities ARM: dts: Update ti-sysc data for existing users Documentation/devicetree/bindings/bus/ti-sysc.txt | 37 ++ arch/arm/boot/dts/dra7.dtsi | 30 +- arch/arm/boot/dts/omap4.dtsi | 94 ++++- arch/arm/mach-omap2/omap_hwmod.c | 2 + arch/arm/mach-omap2/omap_hwmod.h | 34 +- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 21 - arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 17 +- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 7 +- arch/arm/mach-omap2/omap_hwmod_common_data.c | 40 +- drivers/bus/ti-sysc.c | 485 ++++++++++++++++++++-- include/dt-bindings/bus/ti-sysc.h | 22 + include/linux/platform_data/ti-sysc.h | 86 ++++ 12 files changed, 758 insertions(+), 117 deletions(-) create mode 100644 include/dt-bindings/bus/ti-sysc.h create mode 100644 include/linux/platform_data/ti-sysc.h Reviewed-by: Rob Herring