From patchwork Fri Apr 21 07:45:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 9692075 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1C47B60383 for ; Fri, 21 Apr 2017 08:08:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B654285F4 for ; Fri, 21 Apr 2017 08:08:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1FCC2860F; Fri, 21 Apr 2017 08:08:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F23D285F4 for ; Fri, 21 Apr 2017 08:08:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1036109AbdDUIFt (ORCPT ); Fri, 21 Apr 2017 04:05:49 -0400 Received: from botnar.kaiser.cx ([176.28.20.183]:45178 "EHLO botnar.kaiser.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1036387AbdDUIFD (ORCPT ); Fri, 21 Apr 2017 04:05:03 -0400 X-Greylist: delayed 1124 seconds by postgrey-1.27 at vger.kernel.org; Fri, 21 Apr 2017 04:05:03 EDT Received: from p4fdc837e.dip0.t-ipconnect.de ([79.220.131.126] helo=martin-debian-1.paytec.ch) by botnar.kaiser.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1d1TGm-0002NQ-EJ; Fri, 21 Apr 2017 09:46:20 +0200 From: Martin Kaiser To: linux-fbdev@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Martin Kaiser Subject: [PATCH 2/2 v3 resend] dt-bindings: display: imx: entry for AUS mode Date: Fri, 21 Apr 2017 09:45:53 +0200 Message-Id: <1492760753-8374-2-git-send-email-martin@kaiser.cx> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1492760753-8374-1-git-send-email-martin@kaiser.cx> References: <1488193030-13064-1-git-send-email-martin@kaiser.cx> <1492760753-8374-1-git-send-email-martin@kaiser.cx> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allow setting the AUS mode for a display from the device tree. Use an optional boolean property. AUS mode can be set only on imx21 and compatible chipsets. Signed-off-by: Martin Kaiser Acked-by: Rob Herring --- re-sending v3, rebased against current linux-next it seems this got lost along the way, there was a bit of confusion whether to split this in two patches or not v3: use a boolean DT property instead of the register value separate patches for DT binding and code changes v2: re-sending DT bindings and code changes as one patch Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt b/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt index 7a5c0e2..cacae0e 100644 --- a/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx-fb.txt @@ -13,6 +13,8 @@ Required nodes: Additional, the display node has to define properties: - bits-per-pixel: Bits per pixel - fsl,pcr: LCDC PCR value + A display node may optionally define + - fsl,aus_mode: boolean to enable AUS mode (only for imx21) Optional properties: - lcd-supply: Regulator for LCD supply voltage.