From patchwork Fri Feb 22 17:51:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10828327 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 CA1251805 for ; Mon, 25 Feb 2019 08:34:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B91702A93B for ; Mon, 25 Feb 2019 08:34:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACAB82AB86; Mon, 25 Feb 2019 08:34:31 +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,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,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 4C27F2A93B for ; Mon, 25 Feb 2019 08:34:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CEFA889233; Mon, 25 Feb 2019 08:34:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by gabe.freedesktop.org (Postfix) with ESMTPS id B466B89686 for ; Fri, 22 Feb 2019 17:52:00 +0000 (UTC) Received: by mail-lf1-x142.google.com with SMTP id v7so2375583lfd.2 for ; Fri, 22 Feb 2019 09:52:00 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=jacprPBn05l4R8g5qgw4GNE3Kp5hDAm7FHtawGYUnlI=; b=reY9MC1eRN1SvmmNshhX2yTqFSBQ3WyuBQX3vSmm2RylJTv28qcHYK2fsBGQzSviHP qusFlQZihVZ7/oW2UMBfWv0ImN0VqK9cVgg11lg/w6yWCxX3ouG8mVzC2tv8zK70ts/4 k3N58XCMZ7bIoIKJg+9Lq6HtkFB7EzasaLwEVzLbUbPhtkUhrB98/KKOxnke21Dvmjij 2lUN0YDWwvjmEcTODBUlyC9PHsGyYELn91HYNEMnhife+WJib+uEpgNdWtDRjMLkUIFW 4pC/SCCpSUzxQdtqizUhmm7K0OWxwh6MwMk4uYwEg0Blc+Q4TlQ8KGigd7s8XHMyL6AP FGeg== X-Gm-Message-State: AHQUAuaqDYUfJOS6JKPvWqu0ixNmX+QieIPCjs6vWv6VKlglO+2wnqtK 1WV0flnO/l+VdUQaAHXzKmc= X-Google-Smtp-Source: AHgI3IZp4dQ0T/awzVKVjT0BKOvaT9cQcNh1KeJ7L3lASnBBO5UL32AuGvM5eueAnq2CPXJEpzZ6lA== X-Received: by 2002:a19:9c87:: with SMTP id f129mr3170169lfe.77.1550857919037; Fri, 22 Feb 2019 09:51:59 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:b16d:ecd7:a81b:d059]) by smtp.googlemail.com with ESMTPSA id v65sm655958lje.77.2019.02.22.09.51.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Feb 2019 09:51:58 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: thierry.reding@gmail.com Subject: [PATCH v4 1/2] dt-bindings: drm: panel: Add Samsung s6e63m0 panel documentation Date: Fri, 22 Feb 2019 18:51:52 +0100 Message-Id: <20190222175153.20567-1-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 25 Feb 2019 08:34:29 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jacprPBn05l4R8g5qgw4GNE3Kp5hDAm7FHtawGYUnlI=; b=L/Zh9RI0ssQR0EALwGYzQ6gixFIncXnJ56+pyjy/JOGI7m1dzGaH2IFkpZw2kM5uu/ W6ZjpaEbc63jAXc+AaDM1TNfqYemYXtsAA6l6Ep8Dm+0TnND/E/ns+o7fQnLrouFrtxM /WIJZPuvCmN0B1xLkwbs6RxlgWvbgXL/qTOxtB98NWBYAKo9vDLFfECpFyVQAiQyYQnq TefYpQpj5WMmm34sOme9aPm19dJQOXG/4go06abNQSWUKRJyKc84NNoLn6XavhCo3iIt 6jAUXiZkyjPXdSIhZefhAK6zV5j6cozExNm5XPUswhJB6YWTA9Ozs7m0TRuyNeVSEvUP 8pjQ== 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: mark.rutland@arm.com, devicetree@vger.kernel.org, airlied@linux.ie, Jonathan Bakker , linux-kernel@vger.kernel.org, krzk@kernel.org, robh+dt@kernel.org, dri-devel@lists.freedesktop.org, =?utf-8?q?Pawe=C5=82_Chmiel?= , m.szyprowski@samsung.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v2: - Added Reviewed-by Changes from v1: - Add missing subject prefix - Rename reset-gpio to reset-gpios - Add link to spi properites documentation. They're required for driver to work - Removed delay properties, which are now hardcoded in driver - Removed display timings, which are now hardcoded in driver --- .../display/panel/samsung,s6e63m0.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.txt diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.txt b/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.txt new file mode 100644 index 000000000000..9fb9ebeef8e4 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.txt @@ -0,0 +1,33 @@ +Samsung s6e63m0 AMOLED LCD panel + +Required properties: + - compatible: "samsung,s6e63m0" + - reset-gpios: GPIO spec for reset pin + - vdd3-supply: VDD regulator + - vci-supply: VCI regulator + +The panel must obey rules for SPI slave device specified in document [1]. + +The device node can contain one 'port' child node with one child +'endpoint' node, according to the bindings defined in [2]. This +node should describe panel's video bus. + +[1]: Documentation/devicetree/bindings/spi/spi-bus.txt +[2]: Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + + s6e63m0: display@0 { + compatible = "samsung,s6e63m0"; + reg = <0>; + reset-gpio = <&mp05 5 1>; + vdd3-supply = <&ldo12_reg>; + vci-supply = <&ldo11_reg>; + spi-max-frequency = <1200000>; + + port { + lcd_ep: endpoint { + remote-endpoint = <&fimd_ep>; + }; + }; + };