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: 980490 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Nl50Rqn0"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42THSv2fkPz9sRp for ; Mon, 8 Oct 2018 22:00:15 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727444AbeJHSLX (ORCPT ); Mon, 8 Oct 2018 14:11:23 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:46682 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726794AbeJHSLX (ORCPT ); Mon, 8 Oct 2018 14:11:23 -0400 Received: by mail-lj1-f196.google.com with SMTP id x3-v6so3807683lji.13 for ; Mon, 08 Oct 2018 04:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ZvZtf4MiaIC/bDhleSrJ6nDKDgEWHRS3Nd9z7f9/kVk=; b=Nl50Rqn0D5pl3crMosJUZUjcYgvP0FVcywZ9ZGJubjIkfkGb6V+f1BHU1agpExb/z2 ZAh/ojREaCGw+9Zbsf6+SwKT5PWVHo1FYukFu0Fe8hDf5BH41+/CYNTrG7VZh6zMCTGF G1K1EPZMvIKHDqerSrZT2MktWegxT6wu1ZZZk= 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=BZ4U0dhv4KiqShmYS0nmJ2rH+ZtSXW+G0t1NMbiMY4PA58/stmreH6HcThlrE4zw3w 1kaq3yNnVf6yMtYVl+Mc3EwVB2vNdaTFupHpay1PAv0OQiizWn4GRR3aqL9OcJieeI6v DYU3wXvsINOKc3ees6sBikhqk6rbqP7Pc4AUrDsYh28MyglDZ0APgvnPEbcSUWpoxd6S SysvrmiO1FFiCj+bSTBcYYfb2wJcl9x+ypKzOVmeND82R3KPekIJs1u3tyNknT67MCjR ngHi7+QNLBxf3ZH2BsJNwboWI0QZ5ZPsRgIsAzM7VqC1sHYQppeYCfNUR1d0YbyGkIJi X9gg== X-Gm-Message-State: ABuFfoimRlt1jJqsfJ7dyv8gCExUF4rHo1MMZIuh3tSV8Bpq67pGNKgS jqw7a0NktaPFZFwfrJJ8w78j1Q== 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 Cc: Linus Walleij , devicetree@vger.kernel.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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + }; + }; + }; +};