From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11AC1C43381 for ; Mon, 1 Apr 2019 06:31:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D6D3720879 for ; Mon, 1 Apr 2019 06:31:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EECRQ6wn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D6D3720879 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0K4xVDSP6tOckGXB0BQXqV05VkTsWS/6yBsu5OF8IIw=; b=EECRQ6wnLro8s3qOVvk4WcmE2 PUYXd4stPXTxRXWfJsIPAwvFApoPSuQ9dL+MLaTNBBK6xJt/AJ4NEBhBfUEtOgaA9Yw/mEZt4k7il rRU7ZuQ+g5jzic0IogSS/nQ9C7myUyh4WPwqplllxFRUdfkvxewrO1sIlIS7I5Wqz9f//1teKCR6R zFUC4hgQ16TQiSkEIyRDyZAlM3Hzg0IgTq6iNhrvybeRnVy7E+imUI0FN5jPqENh/oiZvRiJ9S6Ot HOq+Fv2iYl/2kU1Zu5nCJqxnfEY2BVoGmfme3CfYU7UEUYXKm+Ce0UNvREmPKK6By1QFPVeyo9OG8 +Bpv/eTlA==; 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 1hAqTL-0000qZ-8L; Mon, 01 Apr 2019 06:31:07 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAqTH-0000q4-S8 for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 06:31:05 +0000 Received: from localhost (aaubervilliers-681-1-91-136.w90-88.abo.wanadoo.fr [90.88.32.136]) (Authenticated sender: maxime.ripard@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id E3099240002; Mon, 1 Apr 2019 06:30:49 +0000 (UTC) Date: Mon, 1 Apr 2019 08:30:49 +0200 From: Maxime Ripard To: megous@megous.com Subject: Re: [PATCH 2/7] ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer Message-ID: <20190401063049.h2as3qllpelkxkbb@flea> References: <20190327001843.2420-1-megous@megous.com> <20190327001843.2420-3-megous@megous.com> MIME-Version: 1.0 In-Reply-To: <20190327001843.2420-3-megous@megous.com> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190331_233104_061110_228A16D8 X-CRM114-Status: GOOD ( 15.37 ) 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@arm.com, robh@kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, johan@kernel.org, linux-kernel@vger.kernel.org, wens@csie.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============8346551266634794500==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8346551266634794500== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fnpf52jkmyyf4nzn" Content-Disposition: inline --fnpf52jkmyyf4nzn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Wed, Mar 27, 2019 at 01:18:38AM +0100, megous@megous.com wrote: > From: Ondrej Jirman > > A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable > both the I2C1 bus and add the accelerometer device to it. > > Signed-off-by: Ondrej Jirman > --- > arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > index 6aae70c89a1e..347fc0c31fa4 100644 > --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > @@ -156,6 +156,21 @@ > status = "okay"; > }; > > +&i2c1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c1_pins>; It's there already > + clock-frequency = <400000>; > + status = "okay"; > + > + /* Accelerometer */ > + bma250@18 { The node name should be the class of the device, not its model, so something like accelerometer. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --fnpf52jkmyyf4nzn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXKGwAwAKCRDj7w1vZxhR xQveAQC8OUeLN0o//lp3b2Pvv9ePXMdeMlm0Iipabo3Q4eV9CQEA/nsWOP6bl21j VdAn5ByJuEA+oaUpCbSydDKa6PeJKgw= =5Ks7 -----END PGP SIGNATURE----- --fnpf52jkmyyf4nzn-- --===============8346551266634794500== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============8346551266634794500==--