Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1562045ybb; Sat, 4 Apr 2020 07:08:15 -0700 (PDT) X-Google-Smtp-Source: APiQypIznJfXTzyW/4EryTHgdvUAahojJtvg8+0Y5Ngp4Gw2gpS6lZnueWEPWr0bO++C5MChDz9N X-Received: by 2002:a4a:370f:: with SMTP id r15mr10805612oor.100.1586009294876; Sat, 04 Apr 2020 07:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586009294; cv=none; d=google.com; s=arc-20160816; b=nSLUH9KpMKH/40YWphvvjyW82dcf4hprGfrrSWcTNOO77x5ftXJTFmM3D8TAo8OUiw GJ+XX95u5jKAp1P4L+ZLueAtMOAlShCygebq35JZ6H88eWOCpglANTeL9Wcv6wQWzj9J 3X/a+iZnpNpQxpAi3NQAHAPROoRe80bM/Bh0hoaj52t3P2IJb3nlNbA0olLd4Z6GcmPp mleaHLJSs1vdLtV3TZ/vW0HoZN8HKBqaDvcg+/QZ1H2FGKJQiNB0ylY5LuGEaS/e+DEx oiqlFMb8s0cFMnkdff3Jg/oDeMCt7cWeP0U8vmoN4zFSw1HCyitvvtZseO6PoQO5RMlb XzmQ== 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=EMEiPLE78F6u/SB4xhJOttuFAAW/qCXmelZdUn9hFhY=; b=SNstq4S2e0l7lfMzMleUludAecBtxWlBNEphbNJxOyGx9ye0rWwaBOVY/bxWbQr3SY b1tFaezg9xd3LiBtsPmwUKFczQGm6zxOOBuMj/Yl67tPI+1mmQ4xprNDANL79GD7feTO KqpkDctlZjNA4TetVdAVGPAwm0J/otb3KTg6ArGwqWM2RB2+ZOA1RCeOTb2PpDIRK9Bd UqyR4GFUq9CFdnn38HROHq7tO9iYltW1zcFZOB2LM7dbKPU9uNm5SRLfrD3VhOd4tego 2DSCJtT+ykw/UoYGKiy6gFEsaAuoC3BoG5myz/Tzyvnda4U/2JSRh6gGJ7sqS2r8i0H4 b4cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d19ZLvza; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id w8si5224697oib.105.2020.04.04.07.08.02; Sat, 04 Apr 2020 07:08:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@kernel.org header.s=default header.b=d19ZLvza; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726331AbgDDOG5 (ORCPT + 99 others); Sat, 4 Apr 2020 10:06:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:48274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgDDOG4 (ORCPT ); Sat, 4 Apr 2020 10:06:56 -0400 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 BD7282074B; Sat, 4 Apr 2020 14:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586009216; bh=+b0oTb1t16JA3+0YlDERGnAPMV5kIMdS/LTGfcOX41U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=d19ZLvzaDmpCW357gTjPA1TjMezn/zxJIORTvB5Io2yYEqf47IY2Ttzkt/UFraWx/ m1Nf9yUj8JbBzv871OwE2FZWGNOeLDsgfR+0VRl6IiDJx3nHlpu83X7kJN288/saoO um2bO/Sr5PCPtS8pflCCHBQzzEFDmp/M1y//Yv+o= Received: by mail-ed1-f54.google.com with SMTP id i16so12813642edy.11; Sat, 04 Apr 2020 07:06:55 -0700 (PDT) X-Gm-Message-State: AGi0PuZ388S4rvzdEpptNGBIl+gZ8ID0kHz/qJ6x6yUxO1RgKtSHSqRp AbtstoHO0yh7YViQILrIntSjvLlTz7quSRt0KQ== X-Received: by 2002:a05:6402:b70:: with SMTP id cb16mr11854658edb.48.1586009214144; Sat, 04 Apr 2020 07:06:54 -0700 (PDT) MIME-Version: 1.0 References: <20200403080350.95826-1-jitao.shi@mediatek.com> <20200403080350.95826-2-jitao.shi@mediatek.com> In-Reply-To: <20200403080350.95826-2-jitao.shi@mediatek.com> From: Chun-Kuang Hu Date: Sat, 4 Apr 2020 22:06:42 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v14 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@vger.kernel.org, devicetree@vger.kernel.org, srv_heupstream@mediatek.com, huijuan.xie@mediatek.com, stonea168@163.com, cawa.cheng@mediatek.com, linux-mediatek@lists.infradead.org, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, linux-arm-kernel@lists.infradead.org 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=883=E6=97= =A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=884:04=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. > Reviewed-by: Chun-Kuang Hu > Signed-off-by: Jitao Shi > --- > .../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.21.0 > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel