Message ID | 20230327083647.22017-16-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1369757vqo; Mon, 27 Mar 2023 02:07:18 -0700 (PDT) X-Google-Smtp-Source: AKy350YaNh7E/8QGrUhOJIwfZ29qcfe6+DxRJugcHUKQmXkPtsVmtGnBgsFRxR0w5FVvzbGZygs6 X-Received: by 2002:a17:906:7241:b0:935:1565:d661 with SMTP id n1-20020a170906724100b009351565d661mr10653981ejk.66.1679908038455; Mon, 27 Mar 2023 02:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679908038; cv=none; d=google.com; s=arc-20160816; b=J34ohI23zowtvtdrjh64ejVjfyNiVuRUfCwWHybhRxbCtKOPoQRTLBX/OSLEg9T7V+ nwYdR3/hQbfbJHgS5m95aFzJCA1S5TLpmRYtEyOElQe1v7SJP8NCuykvsmGrzsifXvqQ crniDOFgwXC3YOKrDPAEsWrRSvo9j5ocqBJHlZwBd+d3uXw8gIyOKdM2juLcl3BpFygY IQ9+TRrY1A/YDynu1jWGrTsOoK/2/JHKB74QFHWaDg5zRIKlp697MOx+lfInMBVMX5vv xqvJ5cuNIs/tg16oV000k2f2uwwGpRRV29+1xl5tVV91l86UFneds7fyj9OrbB70L4kS USYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yXvD5OwAYM9B6FG+dSZmPNM4+LQMwkEo9gfqrLfj5SI=; b=MevwlFYd2DjV6PL2IFS3HoJYx07+sF2CBDzzuNXMyC4iN8oLg0SRbJlsu5gEp+xgMt tAo25Fnv56OgrsgkhsAH70qL7jR5KJ21Fz1MxXoQRQ42edM1OWOU3qgEVedqpQxZj9GR wf5nIZ/xQoXiLLgtATPcDMUOksegwZkE8QPg6J91eaKOUY5YxcHFQTmCk5fYVW1GME8x 9gRurXu6G+K4/erlUzlnHMmv54zHNc0nf1Ho9uVJss8WSO3l+s1KtmPPh3r+IofKi21d pO/5ub362wiW4ZmURioD2jORdByQfQu8Nae6OBG3sYKCnFzvSO5KwXSPxbG4hp8QOlw0 sIFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZDsHIAK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n25-20020aa7c459000000b004fd2a5bbdd0si26733459edr.542.2023.03.27.02.06.55; Mon, 27 Mar 2023 02:07:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZDsHIAK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232830AbjC0IlU (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Mon, 27 Mar 2023 04:41:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233160AbjC0Ikh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Mar 2023 04:40:37 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 204C44221; Mon, 27 Mar 2023 01:37:09 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 17CD3660313C; Mon, 27 Mar 2023 09:37:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1679906227; bh=/T9WmBbua2oCTw4GMfNhun8IUtdf0uXbZIh9+7jUzSk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZDsHIAK1e7zUj1Sf4asd/mmg6RVoWeec0+v9Duw3DII4USKasTToxblsMfg+5oAsF s3haNXogKx8uNAwV4TAicN+9AZ3NTColuBG9YKlXc6kxXf45HsKptA1E5Lfu17nfKA P3xfdbOGzx4f9uJKpHvuzuzKgELg786lelCwwPgIUz+5Mvnmaabfo2ouD1dFSSNOqG htk89i25gLx4NyBI9eAorikkPDalrZSUG2x8EioNFZWJdX6EgDUfBrFzr1cAoLHmck 0TSVpUqZYBZSYvYrXUvtNhhZpJsgtGtDzj0sfbI/61NJrkNOf+ElxdZCsoHM/6J3Em iz5UQ8yURUm8A== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: qii.wang@mediatek.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, houlong.wei@mediatek.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Subject: [PATCH v2 15/17] arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer Date: Mon, 27 Mar 2023 10:36:45 +0200 Message-Id: <20230327083647.22017-16-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230327083647.22017-1-angelogioacchino.delregno@collabora.com> References: <20230327083647.22017-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761511251462240163?= X-GMAIL-MSGID: =?utf-8?q?1761511251462240163?= |
Series |
MT6795 Helio X10 and Sony Xperia M5: DT step 2!
|
|
Commit Message
AngeloGioacchino Del Regno
March 27, 2023, 8:36 a.m. UTC
This smartphone features a Bosch BMM050 Magnetometer on I2C3: enable
it with the BMM150 binding, as that driver supports BMM050 as well.
For this sensor, there is no interrupt pin;
readings were validated in sysfs.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts index 54a1f7f306f7..bda14c74a8af 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts +++ b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts @@ -106,6 +106,11 @@ accelerometer@0x10 { pinctrl-names = "default"; pinctrl-0 = <&accel_pins>; }; + + magnetometer@0x12 { + compatible = "bosch,bmm150"; + reg = <0x12>; + }; }; &pio {