From patchwork Mon Aug 21 17:16:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 9913355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4098660382 for ; Mon, 21 Aug 2017 17:18:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 283AD1FF4D for ; Mon, 21 Aug 2017 17:18:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1CFA2285A5; Mon, 21 Aug 2017 17:18:08 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 9D81F2879C for ; Mon, 21 Aug 2017 17:18:07 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date:Message-Id: In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=U16qY9HQUbZZjflpP7aZ5fzC3vHsOPV20qKc74VYYjE=; b=Gqy BYcpXugOvEwzBV/cVsoKaQE48Pt8wN/1o+3/anKkaWbOpDdSB5GKJ0kn/IiEP6nUrbC9m5DeTpGLY m6LIIFz+Vx2OexitCf+qDBwMxuCaKjXKA0fEfFckrDgdTHfElZtOvoJdpCKUHqqpU6DK527SMHuVp zJJ7nXdkKEa7xPEuSUf4az87dtgOCyMZE0GMu4yU3vFIi5kNg1C+hvM4soaAdf6ruqv8PwhYNapDF R/waAZWxaL0RdS2NFx9VRqi+gV2l2QQF89W9p75JfxMwEC9pR1nMSdC3md8k/dkXKEmzgadniOGvh R9RKthIvT2PlP53OIeyoQ7uzkE7eRkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1djqL0-0005GL-Ac; Mon, 21 Aug 2017 17:18:06 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1djqKy-0005Fm-Bg; Mon, 21 Aug 2017 17:18:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Date:Message-Id:In-Reply-To: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:References:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eWyLQFiKkdlC7G2ELbLT/v8W2uUEFUPdhql4D+7H7lY=; b=qXJArIFbuYn5ZGUhV0qi8ZPMw5 k0jdoZ9UIUEBeL5hC/yg6/K+WiqLtKMJ9S98pgYgA8axEM8KfMqF3yxyHSLm1o4tVHh6X3aRePRhk sLhn5qEIBS1ApOPNXsv4Bfl73RLQmjyHeBfLssaMAVBTDZrKoqN/M9kq8mWjQA2x0he7vQQfFx5y4 hOmqPzL4H3OQTG+Szvj+aDHbkTLyhn4Kk2PlJALje+foEMxYp104kHStCDHKyO3NmKK5OsCygeqRx 3iAMx3bVw7iQl5QmBZO1SlU+WrqUy2vXbqXlBSU3yJIyNrj2XZNCdqPGKzHF0JLS14++CaAkrEvzB 2UawN7xg==; Received: from heliosphere.sirena.org.uk ([2a01:7e01::f03c:91ff:fed4:a3b6]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1djqKv-0006Be-DI; Mon, 21 Aug 2017 17:18:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: 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:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=eWyLQFiKkdlC7G2ELbLT/v8W2uUEFUPdhql4D+7H7lY=; b=kPuRx4mT+zyj rDIB1WqKC7eV99NyPmVWCzxObYMVjnneMrGQCgA3mKhxqUZiNr/Gzk8uvXUyx+5sSUa7Og0OIwHYv JQTqdPWgQitH5bG2g/aSGcau9lg3MknQWeKzh1y5Eu5K5im2sjVSIiTv2a2L2i4cXlWJDPyds0SMv t8Inw=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1djqJi-0006jc-5i; Mon, 21 Aug 2017 17:16:46 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1djqJh-00042c-Ok; Mon, 21 Aug 2017 18:16:45 +0100 From: Mark Brown To: Guillaume Tucker Subject: Applied "regulator: fan53555: fix I2C device ids" to the regulator tree In-Reply-To: <20170821124743.52924-1-guillaume.tucker@collabora.com> Message-Id: Date: Mon, 21 Aug 2017 18:16:45 +0100 X-Bad-Reply: In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170821_181801_467121_372C31ED X-CRM114-Status: GOOD ( 20.70 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Heiko=20St=C3=BCbner?= , Sjoerd Simons , Liam Girdwood , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Wookey , Mark Brown , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch regulator: fan53555: fix I2C device ids has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From fc1111b885437f374ed54aadda44d8b241ebd2a3 Mon Sep 17 00:00:00 2001 From: Guillaume Tucker Date: Mon, 21 Aug 2017 13:47:43 +0100 Subject: [PATCH] regulator: fan53555: fix I2C device ids The device tree nodes all correctly describe the regulators as syr827 or syr828, but the I2C device id is currently set to the wildcard value of syr82x in the driver. This causes udev to fail to match the driver module with the modalias data from sysfs. Fix this by replacing the I2C device ids with ones that match the device tree descriptions, with syr827 and syr828. Tested on Firefly rk3288 board. The syr82x id was not used anywhere. Fixes: e80c47bd738b (regulator: fan53555: Export I2C module alias information) Signed-off-by: Guillaume Tucker Signed-off-by: Mark Brown --- drivers/regulator/fan53555.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 6b1c0e4672a2..a3bc8037153e 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c @@ -470,7 +470,10 @@ static const struct i2c_device_id fan53555_id[] = { .name = "fan53555", .driver_data = FAN53555_VENDOR_FAIRCHILD }, { - .name = "syr82x", + .name = "syr827", + .driver_data = FAN53555_VENDOR_SILERGY + }, { + .name = "syr828", .driver_data = FAN53555_VENDOR_SILERGY }, { },