Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4468458ybi; Tue, 11 Jun 2019 07:10:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPm2fYKKvFOrWjgYNXv7z0voXgEbZXJikJEKLTVQhDIN+mS510sonUeaZ0fDKLTcUPgJs9 X-Received: by 2002:a17:902:9006:: with SMTP id a6mr71292808plp.305.1560262221237; Tue, 11 Jun 2019 07:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560262221; cv=none; d=google.com; s=arc-20160816; b=ilfnityyMo9ZNrMCZsQOv0OmUSYxdd1tOeAiW26S9ScFf9jTKI3eCDY/q/J1Vhvz/C BucypEdl91dIkxwS/QymFJQFzb5Cy2zyN3IeLxf/qLyeTsjdKYurF9ElJcCRR0ME3nD0 K+lksQ9e5kGAfUsnMxVB/P9dsrqzTlKzlmeyFydXqX6KCkhMEClDk45qeAwmZwPYV16P vOE511HkKxHDqavY2tVga4iPFMHiwKbieoQEvfmIYIcjXcmBrqmG+/Z5oLUICAekBedv Tgjpe6n5nySJgajeVe8ptcbFujHx8Ht2cU5GsbmGYeEEFs1I9WqGcVzEyxfa8R4CWV5G sluw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=WiWr0d9YqU53W8MQ4OsPoH//0sVjuKcU+BOjTt5Ve9M=; b=WSpJkmD+MeE7XusAfqFlKmAq3Vet9LIBq9giI62GgW++8lABiguzWTSUBeHzNR9jPf yatf/9vpen29xYcGVQ29n1B4nDX/3rVj9oGdAKJnxyLsEoiZlPU8ihI6PAzKE+JuUCfA nNyTCYvNJjlHucsb2aKWSAMNGFQZ2L94tv9iMmi5PdO0aFtcajv4TVyEM2wZ0OWoJ++r 5s7b+p4y4QfVmqikKClRSJ9XxYJIX2EHAfYy++Ko29kmAV/usgd6JCSazqRNTibEt780 /Hmn7pNuDDDHaDu5+1eIPTuKikLHxqE9V5U4RW6i85FdpDfduThQo3/CqKS2mmUiW4I/ KloQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si3615269pgp.111.2019.06.11.07.10.04; Tue, 11 Jun 2019 07:10:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390823AbfFKOF1 (ORCPT + 99 others); Tue, 11 Jun 2019 10:05:27 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:55769 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390059AbfFKOFD (ORCPT ); Tue, 11 Jun 2019 10:05:03 -0400 Received: from [167.98.27.226] (helo=happy.office.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1hahOV-0003vU-Ml; Tue, 11 Jun 2019 15:04:59 +0100 From: Michael Drake To: Andrzej Hajda , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Drake Cc: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , linux-kernel@lists.codethink.co.uk, Patrick Glaser , Nate Case Subject: [PATCH v1 10/11] dt-bindings: display/bridge: Add config property for ti949 Date: Tue, 11 Jun 2019 15:04:11 +0100 Message-Id: <20190611140412.32151-11-michael.drake@codethink.co.uk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190611140412.32151-1-michael.drake@codethink.co.uk> References: <20190611140412.32151-1-michael.drake@codethink.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The config property can be used to provide an array of register addresses and values to be written to configure the device for the board. Signed-off-by: Michael Drake Cc: Patrick Glaser Cc: Nate Case --- .../bindings/display/bridge/ti,ds90ub949.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt index 3ba3897d5e81..b1e38d732f17 100644 --- a/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt +++ b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub949.txt @@ -12,6 +12,8 @@ Required properties: Optional properties: - regulators: List of regulator name strings to enable for operation of device. +- config: List of , pairs to be set to configure + device on powerup. The register addresses and values are 8bit. Example ------- @@ -21,4 +23,15 @@ ti949: ds90ub949@0 { regulators: "vcc", "vcc_hdmi"; + config: + /* GPIO0 is an output with remote value */ + <0x0D>, <0x25>, + /* GPIO3 is an input for XRES */ + <0x0F>, <0x03>, + /* GPIO2 is an input for backlight PWM */ + <0x0E>, <0x30>, + /* Enables forward channel I2C pass through */ + <0x17>, <0x9e>, + /* Enables PORT1 registers I2C access */ + <0x1E>, <0x04>; }; -- 2.20.1