From patchwork Wed Aug 30 15:19:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 807682 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xj8MM3Xxgz9sRW for ; Thu, 31 Aug 2017 01:20:15 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751664AbdH3PUL (ORCPT ); Wed, 30 Aug 2017 11:20:11 -0400 Received: from muru.com ([72.249.23.125]:38856 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656AbdH3PUL (ORCPT ); Wed, 30 Aug 2017 11:20:11 -0400 Received: from sampyla.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 6E7CA85A9; Wed, 30 Aug 2017 15:20:32 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: =?utf-8?q?Beno=C3=AEt_Cousson?= , devicetree@vger.kernel.org, Laurent Pinchart , Mark Rutland , Mauro Carvalho Chehab , Rob Herring , Sakari Ailus Subject: [PATCH 13/17] ARM: dts: Add missing fdif node and binding for omap4 Date: Wed, 30 Aug 2017 08:19:49 -0700 Message-Id: <20170830151953.30856-14-tony@atomide.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170830151953.30856-1-tony@atomide.com> References: <20170830151953.30856-1-tony@atomide.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On omap4 we're missing the fdif node with it's related "ti,hwmods" property that the SoC interconnect code needs. Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed. Cc: Laurent Pinchart Cc: Mark Rutland Cc: Mauro Carvalho Chehab Cc: Rob Herring Cc: Sakari Ailus Signed-off-by: Tony Lindgren Reviewed-by: Laurent Pinchart Acked-by: Rob Herring --- .../devicetree/bindings/media/ti-fdif.txt | 29 ++++++++++++++++++++++ arch/arm/boot/dts/omap4.dtsi | 7 ++++++ 2 files changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/ti-fdif.txt diff --git a/Documentation/devicetree/bindings/media/ti-fdif.txt b/Documentation/devicetree/bindings/media/ti-fdif.txt new file mode 100644 --- /dev/null +++ b/Documentation/devicetree/bindings/media/ti-fdif.txt @@ -0,0 +1,29 @@ +Texas Instruments Face Detect (FDIF) binding + +FDIF can be used for face detection on Texas Instruments SoCs. + +Required properties: + +compatible: Shall be one of the following: + "ti,omap4-fdif" + +reg: Shall contain the device instance IO range + +interrupts: Shall contain the device instance interrupt + + +Optional properties: + +ti,hwmods: Shall contain the TI interconnect module name if needed + by the SoC + + +Example: + + fdif: fdif@4a10a000 { + compatible = "ti,omap4-fdif"; + reg = <0x4a10a000 0x1000>; + interrupts = ; + ti,hwmods = "fdif"; + }; + diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -889,6 +889,13 @@ }; }; + fdif: fdif@4a10a000 { + compatible = "ti,omap4-fdif"; + reg = <0x4a10a000 0x1000>; + interrupts = ; + ti,hwmods = "fdif"; + }; + timer1: timer@4a318000 { compatible = "ti,omap3430-timer"; reg = <0x4a318000 0x80>;