Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp714365pxb; Wed, 27 Jan 2021 20:25:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBLJ4PajJM6qM0FIrVN48x/I79j1Nd6sdrs4CpMAjxiTtG9AVmqeufWPuGivbyCHSbS7Ic X-Received: by 2002:a17:906:708f:: with SMTP id b15mr9506465ejk.267.1611807940608; Wed, 27 Jan 2021 20:25:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611807940; cv=none; d=google.com; s=arc-20160816; b=nQcslxYPKpq7ymyspUqXsjgZwhDPX03bdAGHVB+EUrylZ5vDeg7oyITeKxGxo5wym0 i1/QNvqhy0oDfUUgR6jZqloQKN+uPZ1+TuuGXEUVWPgAMwxrRuNg4xvRv4ksMPIMgb5h Zqbzw4NOt3nFJ4EGKRPm6HDHslzNTMMMFUH47Qa2LNXhW9TCjCr/7sXhveODyovc9JVY S1TrcLM1dUbrR+mQd86fBCsiYn04HmK9rfLU7O93RibXSu/SHBLkjJ2PMcKQ9tN1UXyl PL1/J45byXah8TI+ycAKOuPQm+a0u/2454I2fqm7X1tzqF5PdwalRnKFQquL5tJ4Gr6Y MNzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=O1OjT8zIKlV0ZCK1tBM/DkEt2nDZlUgna8AxTAM0HjE=; b=GUZrpy8/yYlLkB2mttR+pel8HdJ8H/KLsl5dgFoLiGR/F1ImRnagTymn81c/9AXZh6 uHi5dnLyvcWk+mMQZ0e7zFngF0zsNI6++NRn/Xz9fYcY82oFlTLnd+s3P77lKKCWPPki s8AoHu1fYdd+qpG9ahaqX1jg2VCEhD7SLdM4T8LFOrBSObybo/o0tO16WMjAfI3TGt3p Hdlby+wJ3PeC8BmYN5o+6IYO9tuaO/hdUgyZRRCGn6RTm6SJPY5wJA96T5o7g7Dwghey Q7ZkOCTUsohbgKQJostotkwSMMCXRn6Fdslh9dJbUhT7067APkXVzrNYlCJUp9ufYyxL E67g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kute2u9n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si1816660ejd.696.2021.01.27.20.25.16; Wed, 27 Jan 2021 20:25:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kute2u9n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbhA1EXh (ORCPT + 99 others); Wed, 27 Jan 2021 23:23:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbhA1EXf (ORCPT ); Wed, 27 Jan 2021 23:23:35 -0500 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26D5EC061573 for ; Wed, 27 Jan 2021 20:22:55 -0800 (PST) Received: by mail-oi1-x234.google.com with SMTP id k25so4688440oik.13 for ; Wed, 27 Jan 2021 20:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=O1OjT8zIKlV0ZCK1tBM/DkEt2nDZlUgna8AxTAM0HjE=; b=Kute2u9nsOXwFp7yoluyqjOpEwyICfdIVWIS0bmcpqcvuEO0TqjS2oDd+rAOZC5Kdo v72SJ/MfQiZ4Laf6LckSXyvFegjMVC+kuqplV8vmtsWV3BymP1RFwk3wuSfeg+tdUOkf hlnxHmwqqQcMKrbudy23DY6US5Rwbyd9YmX5gNQZYhE+NEWo3UpoVy1rK6CE04NNYT+2 bWZZAx1H9uxfzl1F7JWVV+vO5NmK1BsXRy0qOzQY7oPV/PR9+gTHieI3zcfxfr6b86zZ w1HJrQfzMBLPi3PlIXedtQC772RWefPtf2Z11YBLYl8dE0LCAI6X4AjeD/TYloj00yDD zNkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=O1OjT8zIKlV0ZCK1tBM/DkEt2nDZlUgna8AxTAM0HjE=; b=K/jAjDgGUhpo2A1wb2huym9zQ8evSuVMfg6dU+3LNl4Lm6fqmvRwo1/lgaTc9HRrGp 1ex1g73m/wiG5/vvuJIXDNOMuR4XAzAPRbziWT9Mal0nDWyj0Gr173/L/jg2pNUx78nY KKlEya1xlAaKg4jcbmSIPuR0t04lrRAfwWqWQRhQBB0XHFaAhHX5DN9XuIq5YRsYiBz9 366qrVlN+w+O1sUN8Iq5X3P9VOUSyXcy8Fdo5S/+cQbABCyBNTinN9Tr9mmEq7rslM4t f/T7GKCsAZoJxhMxza11JNFW47BrWKZy2Om5YjGYjfcJDx9dzjuREYUKukaCc72StDzE jQZw== X-Gm-Message-State: AOAM5335kFp6OjbfuPMcW5qR865ISLKEvgrjmSpnzJaL54HlSvXo7oE4 LQStTYl1hMQgVV+ob/dgilKdow== X-Received: by 2002:a05:6808:213:: with SMTP id l19mr5244420oie.83.1611807774569; Wed, 27 Jan 2021 20:22:54 -0800 (PST) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id a22sm785048otp.53.2021.01.27.20.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 20:22:53 -0800 (PST) Date: Wed, 27 Jan 2021 22:22:51 -0600 From: Bjorn Andersson To: Jonathan Albrieux Cc: Stephan Gerhold , Konrad Dybcio , linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 3/3] arm64: dts: qcom: msm8916-longcheer-l8910: Add imu/magnetometer Message-ID: <20210128042251.GB5254@yoga> References: <20210124135409.5473-1-jonathan.albrieux@gmail.com> <20210124135409.5473-4-jonathan.albrieux@gmail.com> <20210124194927.GA4448@jonathan-N53SV> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210124194927.GA4448@jonathan-N53SV> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 24 Jan 13:49 CST 2021, Jonathan Albrieux wrote: > On Sun, Jan 24, 2021 at 04:51:31PM +0100, Stephan Gerhold wrote: > > On Sun, Jan 24, 2021 at 04:07:19PM +0100, Konrad Dybcio wrote: > > > > +&blsp_i2c3 { > > > > + status = "okay"; > > > > + > > > > + imu@68 { > > > > + compatible = "bosch,bmi160"; > > > > + reg = <0x68>; > > > > + > > > > + vdd-supply = <&pm8916_l17>; > > > > + vddio-supply = <&pm8916_l6>; > > > > + > > > > + mount-matrix = "0", "1", "0", > > > > + "-1", "0", "0", > > > > + "0", "0", "1"; > > > > + }; > > > > + > > > > + magnetometer@d { > > > > + compatible = "asahi-kasei,ak09911"; > > > > + reg = <0x0d>; > > > > + > > > > + vdd-supply = <&pm8916_l17>; > > > > + vid-supply = <&pm8916_l6>; > > > > + > > > > + reset-gpios = <&msmgpio 111 GPIO_ACTIVE_LOW>; > > > > + > > > > + pinctrl-names = "default"; > > > > + pinctrl-0 = <&mag_reset_default>; > > > > + }; > > > > +}; > > > > > > Please sort I2C devices by their address. > > > > > > > +1 :) > > > Thank you Konrad, thank you Stephan, I'll fix the order! > > > > > > > > }; > > > > > > > > + mag_reset_default: mag-reset-default { > > > > + pins = "gpio111"; > > > > + function = "gpio"; > > > > + > > > > + drive-strength = <2>; > > > > + bias-disable; > > > > + }; > > > > + > > > > > > Please add this after gpio110 to keep it sorted gpio-number-wise. > > > > > > > This is ordered alphabetically. I haven't seen gpio-number order > > anywhere yet... :) > > > Let me know if this order has to be changed, meanwhile I'll prepare > a v2 for the i2c device order and will prepare a v3 in case this > order too has to be changed. > I'm happy with having these sorted alphabetically. Regards, Bjorn