From patchwork Tue Nov 20 21:20:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10691227 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3E93514BD for ; Tue, 20 Nov 2018 21:21:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2816B2A9AC for ; Tue, 20 Nov 2018 21:21:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17C592A9AF; Tue, 20 Nov 2018 21:21:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 56CCE2A9AC for ; Tue, 20 Nov 2018 21:21:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7uhjp3te/yIQFHEMqmtilxWElEjVCYqrezh3bynzlUo=; b=c9LQKr10q5ByYz k8AaYg7AuYyX+LPhSbiuS86i1uXdGJXgHYQdEJhJDiMNu2nenBnFebw0L/OLYOBLGi6meXyGqyCWt b1WU4JZ2abk1W1obYLj4LQkcFy43sWJZyLeIPMi0qT3wOyq2fN9xcOR9NMELA1LkuiNVsmXsg7dKu a24mI4E7hQYdM7NoU4aqciEcH99Se+g0s1FQfD/EaBJS+0A/f8p+MOQtVYe/Xz6wJiQ6HfNmEmdRE eYNtkpIzCMqn1n2e3NlW1/NKFpy/uIrEABJBNUzFLOHRDw/53l6DjeOd9t0QtmGACGR142wfRxe2J b330SO6YP+yZgRY1mMog==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPDSR-0005t9-P3; Tue, 20 Nov 2018 21:21:19 +0000 Received: from mail-eopbgr80102.outbound.protection.outlook.com ([40.107.8.102] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPDSO-0005sg-A6 for linux-arm-kernel@lists.infradead.org; Tue, 20 Nov 2018 21:21:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vmghLTXpMFZDFi54LKltCKw0pdkPCHCfptZOIWDvxU8=; b=Fm8gz236fHVv7uxSJg7SLJzsRGOTtDSyEgTTcy7aODQbJupBtR7HN6Lj7Mopm/UWHys1LXXVBYffBifXSI5Hf68RJ3zpLm4Hu0s24XyicaIhyd4lRwtlsEHGq32HS4USuGbv/PnDidjltn+t09kcoZnXdbiZ0771WKIUN3kGmyw= Received: from AM5PR0201MB2451.eurprd02.prod.outlook.com (10.169.244.8) by AM5PR0201MB2369.eurprd02.prod.outlook.com (10.169.243.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Tue, 20 Nov 2018 21:20:44 +0000 Received: from AM5PR0201MB2451.eurprd02.prod.outlook.com ([fe80::7d9b:e9c1:14e6:b72a]) by AM5PR0201MB2451.eurprd02.prod.outlook.com ([fe80::7d9b:e9c1:14e6:b72a%3]) with mapi id 15.20.1294.048; Tue, 20 Nov 2018 21:20:44 +0000 From: Peter Rosin To: "linux-kernel@vger.kernel.org" Subject: [PATCH] ARM: dts: at91: nattis: initialize the BLON pin as output-low early Thread-Topic: [PATCH] ARM: dts: at91: nattis: initialize the BLON pin as output-low early Thread-Index: AQHUgRbl56Lu3OHuPEaHJ4EotnaBGQ== Date: Tue, 20 Nov 2018 21:20:43 +0000 Message-ID: <20181120212036.22497-1-peda@axentia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.11.0 x-originating-ip: [85.226.244.23] x-clientproxiedby: HE1PR07CA0001.eurprd07.prod.outlook.com (2603:10a6:7:67::11) To AM5PR0201MB2451.eurprd02.prod.outlook.com (2603:10a6:203:35::8) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM5PR0201MB2369; 6:rJ6ZhOfAhm3ThvCGDdY78KeQnoNOGb0N5Lj9WXTGUsqpnbtMXFPH3dMrgJR6X/oLgmPWORjK9UY+IqsDOm5EvDQZDrIxDVLO09y57xSv8g6iELJvur+ATTzDd1E7qY1dHyBYsTrfQZ18X5hGHUP+4fO/UtJgC9N+k81+alxM0yZamuTl8Suwt+8yF/QCNno92AMaG1xV/aTU3d8TcY40oIs4PWZc1vwDRvppe1Wf0R/7uZL1tD/OGdTVT6F9JLQxmMxCJYYANyzrbAqznTtq/mQlKCi2E7pDEnFWNIXZBQ+m4mTAk0+ZU/wpNAXmi1ZHrEFcsm/Mo9gkTvSSbTmIIwGWtLKLZVviKuVw2qKqWwksRPo5HxB4oxbm3f4nqnH2gGzHPjD0IIqISz1KKiHfX+3DFxOl+eBq0WeGL8P3KsKTI+BFT9lfCrsrHEJqKiZGQA435Wg3so3WdYIzZkJ8eg==; 5:dTXMIXJaFqo9O754D6bGkAraRFopSmTwYjNRnVAeMuJjnUWCuJDq4vThKV3y9p8r27Vvx5VhA4CyTmjMDzLTCyJvLGtwI1bcy3MAoDGZicFYhxSiFYfJJjxxoT8lsfAnzavi0Htm0MmFiQAwXQlCV3K9Ndjaa8OalgWwOX/K9xk=; 7:x+fzmxnrc0DUyiU5/K7VcbUCbMxkZIPHNgiV7Dt6hgkhlxj8ElkK4c3heNoB32nkDYIrxCMHYOQ6yBDGiP1mcyF5oyx1MXAaoZ0n73ERYkjGaJ0bSOV65ETx0z7J8hcYHzAfEiKFImb0Ggc8cexLMg== x-ms-office365-filtering-correlation-id: f559a445-34da-4ff2-bdff-08d64f2e0784 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:AM5PR0201MB2369; x-ms-traffictypediagnostic: AM5PR0201MB2369: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231442)(944501410)(52105112)(148016)(149066)(150057)(6041310)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(2016111802025)(6043046)(201708071742011)(7699051)(76991095); SRVR:AM5PR0201MB2369; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0201MB2369; x-forefront-prvs: 08626BE3A5 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(366004)(346002)(39830400003)(396003)(136003)(199004)(189003)(99286004)(2351001)(6916009)(102836004)(386003)(14454004)(6506007)(476003)(52116002)(486006)(2616005)(6436002)(6486002)(6116002)(256004)(3846002)(86362001)(186003)(26005)(66066001)(54906003)(1857600001)(105586002)(508600001)(25786009)(106356001)(2900100001)(7736002)(5640700003)(6512007)(5660300001)(53936002)(8676002)(81156014)(81166006)(4326008)(316002)(2906002)(305945005)(50226002)(8936002)(36756003)(68736007)(97736004)(74482002)(71200400001)(2501003)(1076002)(71190400001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0201MB2369; H:AM5PR0201MB2451.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) x-microsoft-antispam-message-info: 3QLtlNflqXtIV5XQ2tljM8snc+fQmGPfhcHBqeI1FsZSJ4Di1JZFzl25KiZhyovI5Et3V89xEJEYMSUwoLy7tix+mfgx5iZr1z06PH9X1JVuBcUu+++q3efCLL2EBQZvRKClsCYFYilZGGp9gPyEAd41vn6wQaWkxU91u07jvbIxE1YFDwMtcKO3wOI1EkemuWfQlKU9wlc7nmvO3bSOLG2Uoj8x3qY+sntWTTnjo8JPd5AeEpR8LE61oIbp3SmdoHTrFcW3MkVHoUQBAc7ssynSm0Bfdzyl/VqS1A1a/mh8qwQx2qWHg+Sa3ZuVRVx6A8md0RwiNCMk15jeTgqz0SqppPsdKP2f5LW4Qfld7w4= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: f559a445-34da-4ff2-bdff-08d64f2e0784 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2018 21:20:43.9078 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0201MB2369 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_132116_352019_276311E6 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "devicetree@vger.kernel.org" , Alexandre Belloni , Rob Herring , Peter Rosin , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The pwm-backlight driver initializes BLON (the enable gpio) to output-high if the gpio is input on probe. Initializing the gpio to output-low before the driver probes prevents this action by the pwm-backlight driver and gets rid of a nasty blink of full backlight with an uninitialized panel. Signed-off-by: Peter Rosin --- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts index 911d2c7c1500..0f6d335125e2 100644 --- a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts +++ b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts @@ -60,6 +60,8 @@ power-supply = <&bl_reg>; enable-gpios = <&pioA 20 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_blon>; }; panel: panel { @@ -164,6 +166,12 @@ (AT91_PINCTRL_OUTPUT | AT91_PINCTRL_OUTPUT_VAL(0))>; }; + + pinctrl_blon: blon { + atmel,pins = ; + }; }; };