From patchwork Tue Oct 16 12:34:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10643499 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DEF0A14E2 for ; Tue, 16 Oct 2018 12:34:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE4DA29867 for ; Tue, 16 Oct 2018 12:34:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2C1F29A6A; Tue, 16 Oct 2018 12:34:21 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4DBA029867 for ; Tue, 16 Oct 2018 12:34:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5515A89C56; Tue, 16 Oct 2018 12:34:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 198C989C56 for ; Tue, 16 Oct 2018 12:34:18 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id x3-v6so20685775lji.13 for ; Tue, 16 Oct 2018 05:34:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=LmFx6ibglW6MEed51Y6nxJgdS00wWijlCCuH3AClNlc=; b=Y0wkxJgc+tJBAJ6OF2MDOO7eZAmN7LFj1woQRjQlEc/jzXCB0mHek9PvPBHVZh2wk1 QajEAKG0wmD+pmttij0VcKLx7GmM/L9DkIL4xY7DGdzkIBGYNWifDq5Ae2871pd4gv/u QCjKRX43rqmQ+9v0KYEUJP1OX9WJKj1bFKmATNRZmkI8FtW9qV7uoLp44wlyCloERXaP 2DXhZTmAmXaRYJP+tgEOLbvmlqUAj4PlA2gwl1mt3nzLfBxksoW4Q/rBccGRIlPcYZ+B vNP9rfkxWv6C4Uypf9hCYWEIpa8kZAlcdGRFP6pZ+3TXanR51/YNKuwvxvle8UZPc4tJ PmkQ== X-Gm-Message-State: ABuFfojCUSSgYbNKh5zt/2bLwyP8v1FacE3VAf73dK74OH5bps7/jdXF ajruOASKdb2Z4py+da6fQx38tg== X-Google-Smtp-Source: ACcGV63E9uXQ0fFNU6neOUlLJ57blEqbepST0Bw4oMCMPKtprrS8FGVW28Aw/ByWP2E/y9kOcPn81w== X-Received: by 2002:a2e:9c08:: with SMTP id s8-v6mr9534285lji.149.1539693256415; Tue, 16 Oct 2018 05:34:16 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id h2-v6sm2989276lfb.27.2018.10.16.05.34.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Oct 2018 05:34:15 -0700 (PDT) From: Linus Walleij To: Thierry Reding , dri-devel@lists.freedesktop.org Subject: [PATCH 1/2 v2] drm/panel: Add DT bindings for Samsung S6D16D0 Date: Tue, 16 Oct 2018 14:34:08 +0200 Message-Id: <20181016123409.13275-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.2 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sam Ravnborg MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This adds the device tree bindings for the Samsung S6D16D0 panel. This is a command mode only panel using DSI. Cc: devicetree@vger.kernel.org Cc: Sam Ravnborg Cc: Andrzej Hajda Signed-off-by: Linus Walleij Acked-by: Sam Ravnborg Reviewed-by: Rob Herring --- ChangeLog v1->v2: - None, if you're OK with it please ACK so I can queue the patch. --- .../display/panel/samsung,s6d16d0.txt | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt b/Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt new file mode 100644 index 000000000000..b94e366f451b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt @@ -0,0 +1,30 @@ +Samsung S6D16D0 4" 864x480 AMOLED panel + +Required properties: + - compatible: should be: + "samsung,s6d16d0", + - reg: the virtual channel number of a DSI peripheral + - vdd1-supply: I/O voltage supply + - reset-gpios: a GPIO spec for the reset pin (active low) + +The device node can contain one 'port' child node with one child +'endpoint' node, according to the bindings defined in +media/video-interfaces.txt. This node should describe panel's video bus. + +Example: +&dsi { + ... + + panel@0 { + compatible = "samsung,s6d16d0"; + reg = <0>; + vdd1-supply = <&foo>; + reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; +};