From patchwork Wed Aug 8 17:31:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 955203 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="VYnRZyEG"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41lz2d0svJz9s3Z for ; Thu, 9 Aug 2018 03:31:37 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727069AbeHHTwQ (ORCPT ); Wed, 8 Aug 2018 15:52:16 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33638 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbeHHTwP (ORCPT ); Wed, 8 Aug 2018 15:52:15 -0400 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 43246CD; Wed, 8 Aug 2018 19:31:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1533749492; bh=66YAmpNKZRVVkFjT3RR0giHDKJC7u2zjdFWIHAIZK9E=; h=From:To:Cc:Subject:Date:From; b=VYnRZyEG3/pEiidmIFQpGhNZu4dFFm44pexpk76yeRWLbamc/AqR0EEEmYUWErJnh 2eIuhFI3FMUS2mvGGGcSDz3oJ9M0l8GGJ6ngLmlC0mSaFD+un+gCWfhZpcq1zFLbAt Witl148CzAVjDQDP0t55A6qvH2SfwIb8ecvytVz4= From: Kieran Bingham To: mchehab@kernel.org, Rob Herring , Mark Rutland , Hans Verkuil Cc: Laurent Pinchart , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kieran Bingham , linux-renesas-soc@vger.kernel.org, Kieran Bingham Subject: [PATCH] dt-bindings: media: adv748x: Document secondary addresses Date: Wed, 8 Aug 2018 18:31:28 +0100 Message-Id: <20180808173128.6400-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The ADV748x supports configurable slave addresses for its I2C pages. Document the page names, and example for setting each of the pages excplicitly. Signed-off-by: Kieran Bingham --- .../devicetree/bindings/media/i2c/adv748x.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/i2c/adv748x.txt b/Documentation/devicetree/bindings/media/i2c/adv748x.txt index 21ffb5ed8183..9515d8ad0e31 100644 --- a/Documentation/devicetree/bindings/media/i2c/adv748x.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv748x.txt @@ -18,6 +18,11 @@ Optional Properties: "intrq3". All interrupts are optional. The "intrq3" interrupt is only available on the adv7481 - interrupts: Specify the interrupt lines for the ADV748x + - reg-names : Names of maps with programmable addresses. + It can contain any map needed a non-default address. + Possible map names are: + "main", "dpll", "cp", "hdmi", "edid", "repeater", + "infoframe", "cbus", "cec", "sdp", "txa", "txb" The device node must contain one 'port' child node per device input and output port, in accordance with the video interface bindings defined in @@ -47,7 +52,10 @@ Example: video-receiver@70 { compatible = "adi,adv7482"; - reg = <0x70>; + reg = <0x70 0x71 0x72 0x73 0x74 0x75 + 0x60 0x61 0x62 0x63 0x64 0x65>; + reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater", + "infoframe", "cbus", "cec", "sdp", "txa", "txb"; #address-cells = <1>; #size-cells = <0>;