From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932458AbbCQUxk (ORCPT ); Tue, 17 Mar 2015 16:53:40 -0400 Received: from mail-bl2on0055.outbound.protection.outlook.com ([65.55.169.55]:14400 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753866AbbCQUxh (ORCPT ); Tue, 17 Mar 2015 16:53:37 -0400 X-Greylist: delayed 871 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Mar 2015 16:53:37 EDT From: Alan Tull To: Greg Kroah-Hartman CC: Jiri Slaby , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Alan Tull , , , , , Subject: =?UTF-8?q?=5BPATCH=201/2=5D=20newhaven=20lcd=3A=20device=20tree=20bindings=20documentation?= Date: Tue, 17 Mar 2015 15:36:46 -0500 Message-ID: <1426624607-2832-2-git-send-email-atull@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1426624607-2832-1-git-send-email-atull@opensource.altera.com> References: <1426624607-2832-1-git-send-email-atull@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BLUPR08CA0058.namprd08.prod.outlook.com (10.141.200.38) To BN3PR0301MB1236.namprd03.prod.outlook.com (25.161.207.24) Authentication-Results: linuxfoundation.org; dkim=none (message not signed) header.d=none;codeaurora.org; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1236;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1172;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB280; X-Forefront-Antispam-Report-Untrusted: BMV:1;SFV:NSPM;SFS:(10009020)(6009001)(86362001)(76176999)(53416004)(50986999)(23676002)(2950100001)(19580395003)(33646002)(50466002)(42186005)(110136001)(19580405001)(229853001)(46102003)(77156002)(50226001)(62966003)(66066001)(47776003)(87976001)(122386002)(40100003)(5820100001)(92566002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0301MB1236;H:linuxheads99.altera.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5002010)(5005006);SRVR:BN3PR0301MB1236;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1236;BCL:0;PCL:0;RULEID:(601004)(5002010)(5005006);SRVR:BLUPR03MB280;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB280; X-Forefront-PRVS: 0518EEFB48 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1236 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11FD017.protection.gbl Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=atull@opensource.altera.com; X-Forefront-Antispam-Report: CIP:66.35.236.236;CTRY:US;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10009020)(6009001)(339900001)(199003)(189002)(50226001)(23676002)(5820100001)(86362001)(87936001)(50986999)(92566002)(2950100001)(76176999)(106466001)(105606002)(50466002)(46102003)(110136001)(85426001)(229853001)(66066001)(47776003)(122386002)(6806004)(40100003)(77156002)(62966003)(19580395003)(53416004)(19580405001)(33646002)(7099025);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB280;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;MLV:ovrnspm;A:0;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Forefront-PRVS: 0518EEFB48 X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2015 20:38:57.3825 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.236];Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB280 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documention for the newhaven lcd device tree bindings. Signed-off-by: Alan Tull --- .../devicetree/bindings/tty/newhaven_lcd.txt | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/tty/newhaven_lcd.txt diff --git a/Documentation/devicetree/bindings/tty/newhaven_lcd.txt b/Documentation/devicetree/bindings/tty/newhaven_lcd.txt new file mode 100644 index 0000000..14b48fc --- /dev/null +++ b/Documentation/devicetree/bindings/tty/newhaven_lcd.txt @@ -0,0 +1,21 @@ +* TTY on a Newhaven NHD‐0216K3Z‐NSW‐BBW LCD connected to I2C + +Required properties: +- compatible: Should be "newhaven,nhd-0216k3z-nsw-bbw" +- reg: i2c address +- height: should be 2 lines +- width: should be 16 characters +- brightness: backlight brightness. Range is 1 to 8, where + 1=OFF and 8=maximum brightness. + +Example: + +&i2c0 { + lcd: lcd@28 { + compatible = "newhaven,nhd-0216k3z-nsw-bbw"; + reg = <0x28>; + height = <2>; + width = <16>; + brightness = <8>; + }; + -- 1.7.9.5