Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2825579imm; Mon, 24 Sep 2018 10:30:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV60m+nRffjkgairxcpPTH/cJbeNKsjHUtut+WClkREOSZqJpD1Yf0ihiSzJVkZGeI4gwWDD3 X-Received: by 2002:a17:902:28a4:: with SMTP id f33-v6mr11715569plb.297.1537810246638; Mon, 24 Sep 2018 10:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537810246; cv=none; d=google.com; s=arc-20160816; b=LvX1FpDpVsmMr3UJPT+QW6hn9SJ1R1saxuBXCGdE0LebzePN+fkHwBblJrpd8CZBod WdXSVPnuCUrxeTiF4FsJYc81UVH/e2ocjPAZErIud+F5sOYc2B12E90ykKARJdveKMWJ dpDC7qNVE0mwB8f3hC0PclZwy4ZfcKzr33zFVYXgsPnnvHN0RKJINOFClJG7b3RXT/I+ mvqYFf4gn9f9ofvcVaMkdbTtZ9lHSR064n2dYlTm43xXfzS5mhGdEKQ7q1A9N4VALrz1 IIeu7tTcMbvhkTHhgx7HqPkfolUbPdUeo63vkCIDfH7SngSMO4LrCvLXsy/EsGKI8lLd X4Kg== 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=bFXA4sZTTQ/zX1uy8Iaas00YJu2olg9swkKZ1sUsD9w=; b=BOBKI82njtz33GrJDhcj5ZqWD1twH6Xs7FzV3mdT3717pZMChh3T104l5xb/oohBGI +FHykRUhwizKwPavF0IZCPGEI8umejKtX+hpU+0X1DfQc1WrwlZ5Hgt2fFfPOnqSCb6E Rl1LX3FWF7v3U6LHZgV0duLrvDlPpuJXIGgznQEhzifTRyEpWiFFtbk0xq2O1vILREKg UQs5GCyefr9YsJV69mHDXhhngDeTz8+bVo1BF7j+UMzonaytCmYF3E2GfbsT+wx11biv dtiOXw+B/HQ3Z3f4NU+bA0C9lEGx5IQG1DUuHBL9KvLyEidyTll3IQE+nLcOAYxYKDGE Rtzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=KTuWbxhF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si34873568pgd.400.2018.09.24.10.30.31; Mon, 24 Sep 2018 10:30:46 -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=fail header.i=@kemnade.info header.s=20180802 header.b=KTuWbxhF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732177AbeIXXdf (ORCPT + 99 others); Mon, 24 Sep 2018 19:33:35 -0400 Received: from mail.andi.de1.cc ([85.214.239.24]:60930 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728916AbeIXXdf (ORCPT ); Mon, 24 Sep 2018 19:33:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bFXA4sZTTQ/zX1uy8Iaas00YJu2olg9swkKZ1sUsD9w=; b=KTuWbxhFj3BPiwd5XR17s8n4mW CsEU+tRvRvk8aCeAEc0JpD80D06lExc1Ta88OxoFQ3IAQhRW22GuDsyOS6mY82KPc+oGvaSuI93BM XDYAixKTGwvG3xyvDGC3XW5isen3GNinkz4icZoxHnorfqu2+zmzEhaG0c0GqFN0sp6c=; Received: from p200300ccfbcbd9001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:fbcb:d900:1a3d:a2ff:febf:d33a] helo=aktux) by h2641619.stratoserver.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1g4UgX-00072M-On; Mon, 24 Sep 2018 19:30:13 +0200 Received: from andi by aktux with local (Exim 4.89) (envelope-from ) id 1g4UgX-0005JD-Dh; Mon, 24 Sep 2018 19:30:13 +0200 From: Andreas Kemnade To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Discussions about the Letux Kernel Cc: Andreas Kemnade Subject: [PATCH] ARM: dts: omap3-gta04: add pulldown/up settings for twl4030 gpio Date: Mon, 24 Sep 2018 19:29:57 +0200 Message-Id: <20180924172957.20366-1-andreas@kemnade.info> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pullup and down settings were missing, so add them to avoid floating pins and make headset detection working. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/omap3-gta04.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 09e45e7ad4bc..6bcb459c1b20 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -657,6 +657,19 @@ status = "disabled"; }; +#define BIT(x) (1 << (x)) +&twl_gpio { + /* pullups: BIT(2) */ + ti,pullups = ; + /* + * pulldowns: + * BIT(0), BIT(1), BIT(6), BIT(7), BIT(8), BIT(13) + * BIT(15), BIT(16), BIT(17) + */ + ti,pulldowns = <(BIT(0) | BIT(1) | BIT(6) | BIT(7) | BIT(8) | + BIT(13) | BIT(15) | BIT(16) | BIT(17))>; +}; + &twl_keypad { status = "disabled"; }; -- 2.11.0