From patchwork Wed Oct 4 16:39:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 14930 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:254a:b0:403:3b70:6f57 with SMTP id hf10csp263477vqb; Wed, 4 Oct 2023 09:42:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfrUMYgaQ74TguPovx9PfxF8cd05Q755yE2z5Qq1FXJzAdOG2TncPpEOdSRuyLwTi3JQof X-Received: by 2002:a05:6358:93a3:b0:135:acfd:8786 with SMTP id h35-20020a05635893a300b00135acfd8786mr3092453rwb.3.1696437738380; Wed, 04 Oct 2023 09:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696437738; cv=none; d=google.com; s=arc-20160816; b=AxKdAr59OUdDnPhr/TlIsc5n2RDDQkl8utZo61qq/3fo7Xh0dPn25qXzIHUwjYtZMg oNei2+/7pS+2O6rDpZMhRPuE7Q+r9q1qSQ6HHUDJ4LS3weWLKjTDkntuouQ+yNDFemqZ o20XjY3DiwKlG5OyBgE5oci7E1GKsIeobJhrJa7QCotULvPKuwTV/o/4e04QrIfy228V niil3U9oD3pPdJmV3B0+wZvqZmu/gpAeNl0Sq9n8lKUnFwB2PwbksFeRusWCu8cHTtWG p+E/y7KEAzW3Y0UsL8Ye7wQ3b6znS9jMgomOL6LApYwUwb+GTIPR4oYkShUk5ZGSf3az kQBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=OwinnMEh9kb+/6pTGYavBujahwO6cl+5NQfporXHEEk=; fh=j48Arg1mRKI0xhzqWGNPDYeXmZpdRTIOw6il6X14/Xs=; b=J0KNWBKwKVpU78Fgmpc3v8znpdC+EpcEYT8M3z9erxCAxlmDZo7Uvqe2lj879f1V+9 Mb3nolR6Hh5wXKseCbmXDYAlq0ikyC677VeEmXVpoNttAKALAYGrrQbH865Se0PSpMh3 ES9BHi58Vdts2MSxsOco4WzFp1uQL6OK+3TlHFlZ9xNtTHCUCIhoXUtbdF1QjVge+8UR cJHEYrY/C9Bin3Veu7Wc4pw3JA7cthNGmXP7LVFDLFCr03pHzjvDyl9Ayq4Lk+wHV2/b 6s65T0IbjcUlBOt4BG2+X3l6xzoNWlwnEz05A8DW3OYN8eyiSetTJsVa45cDw/JexQKp jvIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=N764hc6B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g25-20020a633759000000b005859de837c9si4177996pgn.105.2023.10.04.09.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 09:42:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=N764hc6B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B05C381BFCCB; Wed, 4 Oct 2023 09:42:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243328AbjJDQjg (ORCPT + 19 others); Wed, 4 Oct 2023 12:39:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233054AbjJDQjf (ORCPT ); Wed, 4 Oct 2023 12:39:35 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1610295; Wed, 4 Oct 2023 09:39:30 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2E5EF240003; Wed, 4 Oct 2023 16:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696437569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OwinnMEh9kb+/6pTGYavBujahwO6cl+5NQfporXHEEk=; b=N764hc6BUMKfDD4eWHJiija+HENBxryR3BvX7ZUBz98Zwc3vVAt1aYAHIdIzJ5fhttn5bK IuwZ0D4FFaA1ZnGU8yzZ/9UisFlIt3BESkbI4p5lMT0k2duxG+qblfRiB834xnDDP5nzsO X5WnvWB56jDjrzkYip5G1u3DVGmHirMHBXhr08ekG71yNPO5QszWf5wmSQo+nxYNjhOun8 k6AR8v20YGLgcX+EeSGF+v5DJ0ynu6CIab6bclDRbDbVrsH97Zw10IJHSHRZ6BqFVJxeM6 JihqKe2tBJA90bB2+BnVVmc7D7Diuh/bhxpsM/x25LB4yCqDUjjNkVav6uPrlQ== From: Luca Ceresoli Subject: [PATCH 0/2] mxc4005/mxc6655 OF improvements Date: Wed, 04 Oct 2023 18:39:26 +0200 Message-Id: <20231004-mxc4005-device-tree-support-v1-0-e7c0faea72e4@bootlin.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAD6VHWUC/x3MQQqDMBBG4avIrDswiZHSXkW6CPG3nUU1TFQE8 e4Glx883kEFpij0bg4ybFp0nirco6H0i9MXrEM1efGtEwn831MQ6XiocQIvBnBZc55t4SARnXv G4PGiesiGUff73n/O8wL8alMWbQAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Jonathan Cameron , Lars-Peter Clausen Cc: Thomas Petazzoni , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Luca Ceresoli X-Mailer: b4 0.12.3 X-GND-Sasl: luca.ceresoli@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 04 Oct 2023 09:42:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778843897705986514 X-GMAIL-MSGID: 1778843897705986514 This small series fixes the compatible string of MXC4005 in the bindings and adds support for OF-based autoloading of the mxc4005 driver. Signed-off-by: Luca Ceresoli --- Luca Ceresoli (2): dt-bindings: trivial-devices: Fix MEMSIC MXC4005 compatible string iio: accel: mxc4005: allow module autoloading via OF compatible Documentation/devicetree/bindings/trivial-devices.yaml | 2 +- drivers/iio/accel/mxc4005.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) --- base-commit: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa change-id: 20231004-mxc4005-device-tree-support-40ae517a42e9 Best regards,