Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2159787ybz; Sat, 18 Apr 2020 17:08:08 -0700 (PDT) X-Google-Smtp-Source: APiQypKyzSN7qNxLWqr/Obmb1/T+mPxhD8wv0VhllEAKOfdBhK5GZzjFvlxqWUywpJ5XWOnM/I/a X-Received: by 2002:a05:6402:356:: with SMTP id r22mr9146333edw.3.1587254888705; Sat, 18 Apr 2020 17:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587254888; cv=none; d=google.com; s=arc-20160816; b=NL0qNQwlJ57dd7uPch5gek25JiClKNYCDYG18hBCABs12DKrqgth4VFerIyM7eGmii oALuwZIkOgpWFA9Uwc+CmoNqfhGwlK3K/PDS59W8teZeMuCGULtqPM1aqC8vfYasdbe6 8Xrl/ZFVPiMvqktAzeVZSlFW0FiIN0kd8YLDvpPAmsrfuw/uecfOT8Zz1X8FzL6t/d4s o9bptFPww4uw0IgUX7uKSQqpj+5ce+bQpqfdXqBq10Bp2nL1Z61CkwKR9q9WFve/RV9f bYHhdBjlUhorTyz7wVhwGFqQEBtoZbeD8Le1Zi7P8AFksi7Y+PPUmJDLtZX0Ajxv2sKS gKTw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=74C5xrxZs8qui/wgYhJAmr6aT/jjnWGerm6+qzIMcJE=; b=tKB4MgPQMK6M1XWLCFkNt6NxrilzkzluQWJY3ktzSnBRPqIfWP6qjvBi0HJWoFcCXr BjUUMLSw7WdaVORtugLc8eQxXazSzfoMrjif1D3Y47S1dONIt7DLs6DHe2kjcW20ivn7 QDVzfA5OAWu7iivxDBPVkf8Y72V5hFMV07nCX5ftiRsmJoQl/GDEa55PFR0nt+079ihq xcZhGPbvbBhWbKxlMdqbVRovw5b7GS5D2ED7hlAmm7GxEPtla4wCPCypikRW3qJIgj/B s/bXWoONoQ52xBl7G5aLo+1KAvWOqz3dhZvwFPD579yySg7rVd0o6NDorGtw29je5K3h JnrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JmENRTRR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi24si17967285edb.124.2020.04.18.17.07.02; Sat, 18 Apr 2020 17:08:08 -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=JmENRTRR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725891AbgDSAEu (ORCPT + 99 others); Sat, 18 Apr 2020 20:04:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:48228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbgDSAEt (ORCPT ); Sat, 18 Apr 2020 20:04:49 -0400 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B644821BE5; Sun, 19 Apr 2020 00:04:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587254689; bh=v9pZ3WZNZEvx4oF1pGUXqLlB1PXbgAzl0qA9nRFRcew=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JmENRTRR/USNvPNYSd3QE4+FFbWum08VUHzVCR0xqqMOsfxlw80sHuQjMYk+IPzxZ n7qqO+Oihe+J9oAyE9fSyjASwTbB+Tiex9woMXIlN/R+s9KIN2OJKC9a17yWwWq9nX zvhYMZICIRuwvd6QxgYUj61knbarD0zgX9/u1j/o= Received: by mail-ed1-f44.google.com with SMTP id d16so4171270edv.8; Sat, 18 Apr 2020 17:04:48 -0700 (PDT) X-Gm-Message-State: AGi0Pubf7x68AOgdqcAj01h6e2TmiktTLOvKprOb+c8N0xCaGz3nMsGO 9fj3sAA+Yj1IfWGbmUbzL1UP1LDEiq+Zz1ryjA== X-Received: by 2002:aa7:c649:: with SMTP id z9mr8927514edr.288.1587254687117; Sat, 18 Apr 2020 17:04:47 -0700 (PDT) MIME-Version: 1.0 References: <20200415011319.25559-1-jitao.shi@mediatek.com> <20200415011319.25559-2-jitao.shi@mediatek.com> In-Reply-To: <20200415011319.25559-2-jitao.shi@mediatek.com> From: Chun-Kuang Hu Date: Sun, 19 Apr 2020 08:04:34 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v15 1/3] dt-bindings: display: mediatek: control dpi pins mode to avoid leakage To: Jitao Shi Cc: Rob Herring , Mark Rutland , Matthias Brugger , Daniel Vetter , David Airlie , DRI Development , linux-kernel , devicetree@vger.kernel.org, srv_heupstream , huijuan.xie@mediatek.com, stonea168@163.com, cawa.cheng@mediatek.com, "moderated list:ARM/Mediatek SoC support" , Bibby Hsieh , CK Hu , yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Jitao: Jitao Shi =E6=96=BC 2020=E5=B9=B44=E6=9C=8815=E6= =97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=889:13=E5=AF=AB=E9=81=93=EF=BC=9A > > 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 dp= i > disabled. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= log/?h=3Dmediatek-drm-next Regards, Chun-Kuang. > > Acked-by: Rob Herring > Reviewed-by: Chun-Kuang Hu > Signed-off-by: Jitao Shi > --- > Documentation/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.t= xt > index 58914cf681b8..77def4456706 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt > @@ -17,6 +17,9 @@ Required properties: > Documentation/devicetree/bindings/graph.txt. This port should be conne= cted > to the input port of an attached HDMI or LVDS encoder chip. > > +Optional properties: > +- pinctrl-names: Contain "default" and "sleep". > + > Example: > > dpi0: dpi@1401d000 { > @@ -27,6 +30,9 @@ dpi0: dpi@1401d000 { > <&mmsys CLK_MM_DPI_ENGINE>, > <&apmixedsys CLK_APMIXED_TVDPLL>; > clock-names =3D "pixel", "engine", "pll"; > + pinctrl-names =3D "default", "sleep"; > + pinctrl-0 =3D <&dpi_pin_func>; > + pinctrl-1 =3D <&dpi_pin_idle>; > > port { > dpi0_out: endpoint { > -- > 2.12.5 > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek