From patchwork Mon May 2 08:43:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 67001 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp964139qge; Mon, 2 May 2016 01:45:05 -0700 (PDT) X-Received: by 10.98.73.142 with SMTP id r14mr50262164pfi.140.1462178705140; Mon, 02 May 2016 01:45:05 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id z13si5791474pfi.155.2016.05.02.01.45.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 01:45:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ax9SR-0006ez-Ed; Mon, 02 May 2016 08:43:59 +0000 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ax9SN-0006cd-Kd for linux-arm-kernel@lists.infradead.org; Mon, 02 May 2016 08:43:56 +0000 Received: by mail-lf0-x22e.google.com with SMTP id j8so48343302lfd.2 for ; Mon, 02 May 2016 01:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=fTMi1rohV3zA7jP1A8XiNLXavdYCAT/WI5r2lDb3SN4=; b=QBt+aGBDdDbZhv+wVP//cWgCaU2Xz8UTvtKoTP3+ID2fsNFwLZftV38295sPgPfHYY R+l7YD4RqSkYIlgQxooX5gak7Ieku/eRORcr3fOmpE8W6Buva8f0EMqgv/WtXXXjGlvN RjMJjA1m2msUOu+/T0JfzKl2QN9oi0ghEQbJI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fTMi1rohV3zA7jP1A8XiNLXavdYCAT/WI5r2lDb3SN4=; b=f09ildtMyk3UMVQHnTIOIo+SRr6csdi7Zbrl2Z6pr8rWTLZ0UGD3TbU25NW4Z3sNke Q6oruAbNMjq1CMxrwgAGxa0Niq1AqooUxLE1zqmZ5gnuyR4wJ9oGJiKK7oAMX+f61tGE rhJOo9huihwZAExa8GoOtvH/s0duyJhTtmOHWJg9uVb35H0sfamtlVC0PzSQRoDpYS+G ahozZIorHZGBE134RK8Bgo2ytH1rHjUkb8u7lZK683ra3U3gQlWz7O2JY3yIvtpBwWVk 65tlKx16fFIP6rf5CTEIsH5SenkfYpxMsxVerFb+lt9rOgrAWkNO+6Vz/isDhVEBkTA7 L9Pg== X-Gm-Message-State: AOPr4FXjffmed7h0xGqgn9Ai62KfuvyUHaaBNl/vn08AeDwttHdZDhqebTc0TgBzQwdY6nqm X-Received: by 10.25.22.19 with SMTP id m19mr14415618lfi.118.1462178613211; Mon, 02 May 2016 01:43:33 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id v4sm4159341lbi.20.2016.05.02.01.43.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 01:43:32 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: u8500_defconfig: update sensor config Date: Mon, 2 May 2016 10:43:30 +0200 Message-Id: <1462178610-13698-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160502_014355_888770_54581AA3 X-CRM114-Status: GOOD ( 13.44 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:22e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The Ux500 is using buffered IIO as the sensors support IRQs. The BH1780 ambient light sensor was added to IIO, so disable the old misc driver and activate the driver in IIO. Signed-off-by: Linus Walleij --- arch/arm/configs/u8500_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.4.11 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index 0ce2aa73c28a..d95796881b89 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig @@ -45,7 +45,6 @@ CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_SENSORS_BH1780=y CONFIG_NETDEVICES=y CONFIG_SMSC911X=y CONFIG_SMSC_PHY=y @@ -109,8 +108,10 @@ CONFIG_DMADEVICES=y CONFIG_STE_DMA40=y CONFIG_HSEM_U8500=y CONFIG_IIO=y +CONFIG_IIO_BUFFER=y CONFIG_IIO_ST_ACCEL_3AXIS=y CONFIG_IIO_ST_GYRO_3AXIS=y +CONFIG_BH1780=y CONFIG_IIO_ST_MAGN_3AXIS=y CONFIG_IIO_ST_PRESS=y CONFIG_EXT2_FS=y