Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp992855ybt; Fri, 19 Jun 2020 20:53:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2LBRr4YpcfzScFH2Ew+pDji5tuOH1+qCyZ5zAl+lrFl+y4p+2nh3RdbMQdZ2/rp/UFgHG X-Received: by 2002:a50:fb14:: with SMTP id d20mr6400976edq.209.1592625197668; Fri, 19 Jun 2020 20:53:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592625197; cv=none; d=google.com; s=arc-20160816; b=zIuV5ZQlhFVyra5AUBpqfH1xauT66cMNGVGVKtrEVIgoPn2kstNAXpuwjBt2oDwtxm 5Kfc+YqtCgyfo2kI0eX1Uhn2m/4WQRRwbz7m8qga5YkFVlVxKX+xx3ZCWX5YJlk93C58 4yePnLVzOTcIoy84lPE0GhTtSW5fR4+hoeS2R1H0iafl2ncsoHo/Ay3g5mKsSbXJ3ZA0 zaTdKQ+uNiGN+KzS8X660QAtrX45SoexktQpKpRHczVvS8gZWWnIajJtddizG7gJi8yE NbuWEpygCHohDjPYvYyEboPVW0lZLJIkd7OBhC3blLWrXKk60dBrYYvmMmb8RnUCpIQJ PAUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kzbNIDqPaXGcz5JDp9sUQN4kKgo5NHt7HczMS7ob2uk=; b=IXst2C5lIDcJS3BQwE9XlSTRhimx1Lev1Q2+R0/fH2Jjp2zpjiN62Bnog2O1wSX6fb T7YnUm4FMEafUM1TsHh6g3SYWEE8mD8tQFWjYl2Ox0JPnUhcExprAfTFOi7KQTc3s1Jh wxHFVz+eHZj8eJAgCOKY5p1i8HyrlzoGQpObzqmzOkZeh4KNdDCZ+scH+5RK8LZaSu1I eEOaFDzsmOTZdGysEkdwgRExhCcmqWsTRkYcIB2YAgUJFTADsr2tJIn2feEiwyU+H2GT mh+suRFAR+7Z3ui/0oJ54HUcrRejrRJKrqrrLUTsnPzzE5jxWYxlY8eQinRdm1/ggoLV TtOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="VxG2M/0j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si5347249eju.419.2020.06.19.20.52.56; Fri, 19 Jun 2020 20:53:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="VxG2M/0j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394756AbgFSQXD (ORCPT + 99 others); Fri, 19 Jun 2020 12:23:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:55946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389225AbgFSO7n (ORCPT ); Fri, 19 Jun 2020 10:59:43 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 15ACD21973; Fri, 19 Jun 2020 14:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592578782; bh=JpyXvZPwGmhcDX7HBvEqn00iZ7V++vRJV0NKykGQJf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VxG2M/0jo4uzBiZaEckZy+IL6aN+nrd0myIIz0trVUnHmWE/mG8DR5AI2uEHcysmw I3bwbcUv3SW7lQ+DMxae4W7ZhTWcK728i7XDBWUBJRkTyFf77n6ExycD/zfkW/i4t5 YlxxBQMDBZqHQnATo9e3aNthB8xwXbXAor5Qm9Nc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rob Herring , Jitao Shi , Chun-Kuang Hu , Sasha Levin Subject: [PATCH 4.19 124/267] dt-bindings: display: mediatek: control dpi pins mode to avoid leakage Date: Fri, 19 Jun 2020 16:31:49 +0200 Message-Id: <20200619141654.779859074@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619141648.840376470@linuxfoundation.org> References: <20200619141648.840376470@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jitao Shi [ Upstream commit b0ff9b590733079f7f9453e5976a9dd2630949e3 ] Add property "pinctrl-names" to swap pin mode between gpio and dpi mode. Set the dpi pins to gpio mode and output-low to avoid leakage current when dpi disabled. Acked-by: Rob Herring Signed-off-by: Jitao Shi Signed-off-by: Chun-Kuang Hu Signed-off-by: Sasha Levin --- .../devicetree/bindings/display/mediatek/mediatek,dpi.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt index b6a7e7397b8b..b944fe067188 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt @@ -16,6 +16,9 @@ Required properties: Documentation/devicetree/bindings/graph.txt. This port should be connected to the input port of an attached HDMI or LVDS encoder chip. +Optional properties: +- pinctrl-names: Contain "default" and "sleep". + Example: dpi0: dpi@1401d000 { @@ -26,6 +29,9 @@ dpi0: dpi@1401d000 { <&mmsys CLK_MM_DPI_ENGINE>, <&apmixedsys CLK_APMIXED_TVDPLL>; clock-names = "pixel", "engine", "pll"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&dpi_pin_func>; + pinctrl-1 = <&dpi_pin_idle>; port { dpi0_out: endpoint { -- 2.25.1