From patchwork Tue Oct 16 12:34:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 148932 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp5027863lji; Tue, 16 Oct 2018 05:34:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV63BpVAx0Y28b53qo+uIo6gNprnP/+lF4rZ09eA7a5D4Y0Hn6DGVAGJBFat6W0RUSksJ0Qvj X-Received: by 2002:a17:902:32a4:: with SMTP id z33-v6mr10688235plb.85.1539693259371; Tue, 16 Oct 2018 05:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539693259; cv=none; d=google.com; s=arc-20160816; b=yoQI+eRYjPyA6q1K/OUFWzS5zXcsNoitesmB48CsWsUqkD3PRU4ycL6v92hOgc9Vja w1nsRaCBwjG6bzGiZLLzRAkr0xt+XmnREghR9H9c2WGS/wjQZS3SaiOiZeQ0OsuTrXvq gtlz/DdTveqzjO+WJsws7aRsbf9Z72K12Y2wM+b5a4kPe+Rmo3zv3GMdONO63v6dUa3R M3j/57KHzPie5zUK8BlMr5LbcbNeYF598lnu1rwv6L+caiO/tD3qof+UBAAkfdxJPvKZ X/AyQm/RJZAzREIEut4ObMV8toWpumd8MIhrwciR/nP+A1gfe5CHDaAqE1RJtzwy6Glt j0jA== 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=LmFx6ibglW6MEed51Y6nxJgdS00wWijlCCuH3AClNlc=; b=CQrUhS7SuwFw2fD06ZLHRdL9XWdIFGAuUuIZBSU8JnoJ4ELJBIiq89DgINZchpgzT8 60GKGxCg4zS1G1pOPChuXcXniwhdBRahmWnwqesUt+OryySdTYEBA0OI9kSLV14WpWTB 9SBSuCYmjUh8Uv8iq1xGhUvimK7ejY8uPMvO0AUKwu0J8/1K6Lutg0EKvoH4FUjpZgKk weKXsp1F/I+pdxzpok3ZfQi+FLLgxTOBrX+2URzS3Jv8pDBVK4CGqK47uRnuckJBbJZO 1/p6iQ6BpiiBldJosGGRYiRUkuYN8et0lILmBrQ9A+UnMxCFbYkDDzNJvp+8MWgXR9Ne nbfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gMd7AO5B; 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 d4-v6si14361514pgl.524.2018.10.16.05.34.19; Tue, 16 Oct 2018 05:34:19 -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=gMd7AO5B; 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 S1727097AbeJPUYe (ORCPT + 6 others); Tue, 16 Oct 2018 16:24:34 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:42694 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726595AbeJPUYd (ORCPT ); Tue, 16 Oct 2018 16:24:33 -0400 Received: by mail-lj1-f195.google.com with SMTP id y71-v6so20700306lje.9 for ; Tue, 16 Oct 2018 05:34:17 -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=LmFx6ibglW6MEed51Y6nxJgdS00wWijlCCuH3AClNlc=; b=gMd7AO5Bc5g0ot5KYGbDGES9Yh7rnj0Bx65/i8PH1A7YZSt5a5KLXdQLvyccYFHDNH kWGEW0EcMIH97yB720OX6OpxFhOSj6UfWNxOHaZ+iiuLgAchzq7+AbXXHgZ61R+essDt /1xIY/pQEekc0mXwtZOXb7Gi1MPtB3Eb/H8ko= 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=LmFx6ibglW6MEed51Y6nxJgdS00wWijlCCuH3AClNlc=; b=T/ptzBS2Ky++0JhUw9NNRGB9Z1u+U82WbxhL6ExueEzAxoik/t/6iyrk/CvTH0u2Us QZ/9x2pGnTH6ghnCkPV0+Bt1QupYtozGHWMrfCD4H/BoCoicpSrVCwTH4F8anNAy74x8 lW6rvyi27wBUfxv2fI4jRhdFWRxuWNBlGl6A8nR62fVURGS3ylbKnNRMKJT0jpVtJBSc F5E1DrNJATCVoAWoW6+U9DDiZW4QiiBvaOM9gS8mnLlGJ1DD0SHeHRsLVrKS6SlAl8a2 SwnBReLWLrz7TkFbgQqHzJVy4bU0ijCVT+tAiSNbKw2TZYIali9mibL/94A70MufoMDS iW3w== X-Gm-Message-State: ABuFfogQG160UHGIjxWgoXY4C9uSe0tycQ+97SEAwSLAhmHT4n6FvZMQ gey/A50l3eP0lADHZ17Z4E/GeQ== X-Received: by 2002:a2e:9c08:: with SMTP id s8-v6mr9534285lji.149.1539693256415; Tue, 16 Oct 2018 05:34:16 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id h2-v6sm2989276lfb.27.2018.10.16.05.34.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Oct 2018 05:34:15 -0700 (PDT) From: Linus Walleij To: Thierry Reding , dri-devel@lists.freedesktop.org Cc: Linus Walleij , devicetree@vger.kernel.org, Sam Ravnborg , Andrzej Hajda Subject: [PATCH 1/2 v2] drm/panel: Add DT bindings for Samsung S6D16D0 Date: Tue, 16 Oct 2018 14:34:08 +0200 Message-Id: <20181016123409.13275-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: Sam Ravnborg Cc: Andrzej Hajda Signed-off-by: Linus Walleij --- 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 Acked-by: Sam Ravnborg Reviewed-by: Rob Herring 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>; + }; + }; + }; +};