From patchwork Mon Oct 8 11:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10630405 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 B70B415E8 for ; Mon, 8 Oct 2018 11:00:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A740A28734 for ; Mon, 8 Oct 2018 11:00:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AFB528BA0; Mon, 8 Oct 2018 11:00:16 +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 5573D28734 for ; Mon, 8 Oct 2018 11:00:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C4276E117; Mon, 8 Oct 2018 11:00:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7C31C6E117 for ; Mon, 8 Oct 2018 11:00:13 +0000 (UTC) Received: by mail-lj1-x244.google.com with SMTP id r8-v6so17401644ljc.10 for ; Mon, 08 Oct 2018 04:00:13 -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=ZvZtf4MiaIC/bDhleSrJ6nDKDgEWHRS3Nd9z7f9/kVk=; b=ucFSZW2t7tpUU4MpWZCKAfvq7vVeu04kbv3RkfarAB3X22ZqZ872V5AjNIcyc0qw27 C7w95lING1YQV8TY90ZQjOSXEPpkzwTksz1gWNh/+hedFjVk12pAe57HLUVw8Jj2P8bV mk02szI0pwozFkGhqREKAUyt7HUpy+i9ztXNUPAB7wZYf+rY88Z2TOPZb7ruEs7wIzDl Oj4t/JvPYEMyb73jrS6V6zne30JCxBzOhVAnDXsl4IZvgTL0Q56VheGp4BexeRywQq/d tOgPHmh/QOW19gVcVV5aEUuKjAc8CR0JS9kSJ0lGUhlKlE6QyE4rUZDyqcxN5mKawVWO 3dMg== X-Gm-Message-State: ABuFfoiCW57Xsi06SH/rQgVyS/fMQGwthDR0dDxgzxt1ERs0V8K+Eghd epHyqY5T5Br52vNDuF6nHXCxWA== X-Google-Smtp-Source: ACcGV63M53lhOAAuaZ9YqLxmoUI3lEdOrq/AUr59InAWK4qn9OQdjSK6W3KdKtBmi96bE0C2p8/fSA== X-Received: by 2002:a2e:88da:: with SMTP id a26-v6mr78016ljk.85.1538996411861; Mon, 08 Oct 2018 04:00:11 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id s4-v6sm3442777ljh.11.2018.10.08.04.00.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Oct 2018 04:00:10 -0700 (PDT) From: Linus Walleij To: Thierry Reding , dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/panel: Add DT bindings for Samsung S6D16D0 Date: Mon, 8 Oct 2018 13:00:05 +0200 Message-Id: <20181008110006.24561-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.1 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 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 Signed-off-by: Linus Walleij --- .../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>; + }; + }; + }; +};