From patchwork Mon Oct 8 10:58:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 148353 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3490229lji; Mon, 8 Oct 2018 03:59:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV61q7uH2WLUD4FgLeMW3ITdlUEmgoOfydII4z0lfy96xgPSML82ZbqwUwmEBV4rApCKEpu5L X-Received: by 2002:a17:902:369:: with SMTP id 96-v6mr18331700pld.36.1538996369653; Mon, 08 Oct 2018 03:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538996369; cv=none; d=google.com; s=arc-20160816; b=ID15cH1y5YYmkL2IzAIvaOzgc7HXxIrEJIXiFWmbknJ+HkGIKkZDiCAaTPvYdj5Tws oNHiF7u2CKgIXalUXBh+mESW2owOZnK20DKh06dhwD6NABYQhDLbMNb9vJr0LGf9QbLB PHToFZukXVuVAYUjdJomZDc5Q1Z3sv1vE+s1UE+c/5DvBxKuWvvk/BTtnUCuMv07bOTb GFf2gNG3CEq+JQ/6sYTSzWgIyQ5uySV2v8Y9siC+MVGCTFXYGhlVGgTFh25zNnbWRJyo 4EjYMY2ACGdKL7tgwunplx38QkW1PwQQbkz+XwsqnZHfXfhcBoF6MIDHAa5HcHc+PTeF 9b+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:delivered-to; bh=4K10hIfLH0f7Fuox/rc9Wwfxfl7JiTv9TN74BBqMPMo=; b=x+a3cib7z4YbS/SJvnmlILgM2S/HtqsTyQRbLqDUmQsBUid5tVtIsEdepXi7vGYCXx 8X2Xu4wBguFjIRq3ZQ6WJCVXRZ7LZO3jDDq6mtaddVmI4mG0XEsNrv+UnjSUwr2G8t1i PT0vb4Jb2dk91w4ilerYnswvfbUOXhKv7R/Vkft7i877KSfo62KrXPuaIKeBFJ+Wv4RM K+jS0aD1uES5t28UsMbFjuj4fw6FNfVQuRe9VsNf9HdnKU+1aoWVj+MG0omK88S3lu+I RIRcKTsJpv2UNfz6RvzH1LRXLtz6rzqaqxaeftBcFHrxHpxB/8Z7qpd6ZRU0VGAkDtDq auQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m80-v6si18891512pfj.48.2018.10.08.03.59.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Oct 2018 03:59:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 58D726E115; Mon, 8 Oct 2018 10:58:58 +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 970176E115 for ; Mon, 8 Oct 2018 10:58:57 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id v7-v6so16967098ljg.5 for ; Mon, 08 Oct 2018 03:58:57 -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=HEh0PSWhTsQundLErfh9gkTI4xxjiN84EXICMeXIq5I=; b=S8J3AeTpn4Bxj//hdtuYDIq8bF9TbrGEtTWv8Syrz4c2C2gDePtc+By6xqg6ohp4HR SSKsTUcm1bt2GMsUW00KoXv5XHZNx4iTSRJ8YNzvvy33E3DpftglCSi1Rju4143o7QC0 ZTQblDdHl06jaIXAjjFNl9kFatGe78748UJ6h29e1PUfEXqhrIHJrtdql28b7x3RngMm PwUFIAG9VDvzFJG8TcOuaxF0MN2x1c9m4nEz23NDYxNfLk6Qs7SEIYmXq+JakTlquNQS qfIq0+SgJ5SENL6MPR6cNsep7iGkli9WaApksubaMHpVB+0BcarRXQW5/2SRdtvU40k9 wuJg== X-Gm-Message-State: ABuFfoh3NqSyaBinP9HLRfO5MLZTJrWN8mU5u35hXUqcg0G79gIww5IF Fq0S2B7kl2NFT68lwWrIYnjiCA== X-Received: by 2002:a2e:360c:: with SMTP id d12-v6mr13877343lja.92.1538996335932; Mon, 08 Oct 2018 03:58:55 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id h4-v6sm3372586lfj.69.2018.10.08.03.58.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Oct 2018 03:58:54 -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 12:58:51 +0200 Message-Id: <20181008105852.24196-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: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This adds the device tree bindings for the Samsung S6D16D0 panel. This is a command mode only panel using DSI. 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>; + }; + }; + }; +};