From patchwork Tue Oct 23 07:46:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 149433 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp375136ljp; Tue, 23 Oct 2018 00:46:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV63YT5a4YTwwYPYXpdLXYd8LAoQ24nFw/fujmUHo7QhltJ3crnh+i2qCrXlPZIa6zlgP9osy X-Received: by 2002:a62:642:: with SMTP id 63-v6mr48047725pfg.190.1540280801275; Tue, 23 Oct 2018 00:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540280801; cv=none; d=google.com; s=arc-20160816; b=IDZFZ0+WbyXSJXPzypnYIYiw8DvnTy0LUCSFDSS8iCrktkFSHy73Xm5S47zkNpOnq9 rWYLmmWE6jIrS272E782t3FZx4GmRZ2IDshceoZBcbA33G1AXU3kfP4bghtuGt4BonY3 XHOEbhVEHIJ6j9a3E5tbRyRIiq3B328iwPob4azx5CwD+DzcyQOSeIeJtfH5kNX/KhLX vtKD/jh4Jmox7z9ny/lbUSHJY4kGvyh9CSHa3PHMs2JCBWpapnP0+NuruLjB84ASrULx pvqAzz1YpwEv9vLdjkUgMFsvzyvuWXDyZYgIZYfaDwrnNqDHEbex/xP9p/4dqZylzQun E+2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=utKgK3qSxweDTDxB6U4kILesYaq4UQWoomYp9nAhyqk=; b=UwqIpqV5x7xJ3lDg8D0P4LUa53mA8a2GIMZxym0X8/nqwu3Pd/kQkRbHwMMmU4aOUT zbtE4gDDzDwwTLGpaSHOem2pyVv66dcYf9gyI/BL6VOTIueey1feitAY7YepGWvTKqK+ VkXHaeZrYhZOeT5MR4t3UssrTwdBccqGMMTQE2N4/1mcToIuDIKcDioSMfVAOvh36BHv hgGPyR210sIg4HVvM0lKuloq6gl7wv8C/22i9GQzmN1rkNCDsEEorTB+IgxDbztZLUDN tcjbybu4IrlueDAhTP+AOhZcR3mdH9J2WNNE7G2Rc262XeiVGwUvef5iTHkgHugcAhOe sB/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZHaddBy0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c31-v6si529901pgb.348.2018.10.23.00.46.41; Tue, 23 Oct 2018 00:46:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZHaddBy0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727264AbeJWQIw (ORCPT + 6 others); Tue, 23 Oct 2018 12:08:52 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:39757 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727023AbeJWQIw (ORCPT ); Tue, 23 Oct 2018 12:08:52 -0400 Received: by mail-lf1-f66.google.com with SMTP id p11-v6so344020lfc.6 for ; Tue, 23 Oct 2018 00:46:39 -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=utKgK3qSxweDTDxB6U4kILesYaq4UQWoomYp9nAhyqk=; b=ZHaddBy0VU5gv5Xaj+RuPfKAbFOmoLP0P3yv9EyafIyTcny5VlKd+KfLQedn01sFJe Cujqeplf+25FHMtsIKIpdiul3mR4V9ZKiwrNub773oaE7jH3pMZFInfRyEamLFIu9rSC PmviCcKu/n0BIu2IY7Q2AdJVGnHuN5WQdU4rE= 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=utKgK3qSxweDTDxB6U4kILesYaq4UQWoomYp9nAhyqk=; b=XMejw8eEonQbEuH6FYIApe1TYxVJOqIdzHBWQSq8Gp9fHQwFBHP8jbKXrYoKIrPoHo p31R+iKW/ppAo+tj0gFht9g8Qmee6+bp5ZsmJLIwWWATkb0R873SON3cLPsAzHTojLHO gvWJ1zLI6UrfLvu7AkWU7FYNlN7wbknFI/MBAbJEWGsVwFiIyyU9iHWbk/GV8eQ3W/Jx +mXcmUoT66QY47H1YUq+TroS6ASpZjG6e528nhcPUsrzs6IClECf2dECaWKcbUpqv9Xu O2MW9+TmmbY+qdEMrkohXKEu9EU1/3j++V+s9hSPcDQwOiZZD4YniJ1LG2pTISoX+eWF KxvQ== X-Gm-Message-State: ABuFfohQHsgeIy3vKnH7FZW+CoCpH/nrZvc9W8jZz7w+xZGt8xdY0z7N Fu77DAsOtcBLbLr0eveEc0m2MA== X-Received: by 2002:a19:6719:: with SMTP id b25mr9208312lfc.38.1540280798047; Tue, 23 Oct 2018 00:46:38 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id d126-v6sm87221lfe.75.2018.10.23.00.46.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Oct 2018 00:46:36 -0700 (PDT) From: Linus Walleij To: Thierry Reding , dri-devel@lists.freedesktop.org Cc: Linus Walleij , devicetree@vger.kernel.org, Andrzej Hajda Subject: [PATCH 1/2 v3] drm/panel: Add DT bindings for Samsung S6D16D0 Date: Tue, 23 Oct 2018 09:46:29 +0200 Message-Id: <20181023074630.29186-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.2 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 Cc: Andrzej Hajda Acked-by: Sam Ravnborg Reviewed-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Collected Sam's ACK. - Collected Rob's ACK. 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 -- 2.17.2 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>; + }; + }; + }; +};