Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1234365pxm; Thu, 3 Mar 2022 13:05:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWT6M1WV1oI7wXmpfkcLtqFVxHC76Vw6Ebdv8x7qWbWWXcqQ6DxjgSsIdRysdlUlwCNYbn X-Received: by 2002:a50:e696:0:b0:413:3846:20a9 with SMTP id z22-20020a50e696000000b00413384620a9mr36059143edm.96.1646341534099; Thu, 03 Mar 2022 13:05:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646341534; cv=none; d=google.com; s=arc-20160816; b=xrcnfaeUd6Ui6wCHv0Ay5O7PyKDrlKNxC4WjAi/DNtviXsslgc35PQyT+o7MqyvwKg jiyzLexDbyDuop4dESUo7EVkmDO6dDbb2acHG4HJcHDVCZnNvHRsfWuqC3oa3YE6csjN rWYoDTMNyqYNuoFI3qAWkGG2ZA/uPT77Y5vgVGfnRxf7A3hJGhIwYOpv49YfR7Y079yx 4MIC0gHegyzxW+YQDORLA63fTtF51gCPtxbPBjsajPr4SinezV06iDKYc5Ob2l3yslCn wvv8aXkVmF3lQPkCRFgOqi7FBW2Y4aDXKKbvCu7+7/FiwXxVBp4jcCdWHSxA5QAfz43g H03g== 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=bZQctFjnLH/g6bQ03AOVIzIbebLoxrEWUq6Eo5y0QFs=; b=hCs/WYM9BQ/zGn4tONcODAFjGBUvT8kZ2qcyrlEvlwBMsgsy1UkgqCFD4NfkAligId B7rPSn0BqWFp2IS2bHcNfUvrDcbQBmADCVhYMwBLWP53bXNtSnO6YpATAPPNlnA4niKh gKz/XT1M7R2OvxK/9SUGOsJjaBCuvBGV3lPQGJwiHodxImdlbJ+ngc50ezPtrXk6teek exnLI6aLLMuLOl4D8pNUUIzLU69SRrP4xNIeMWaWBa7NnpZDVZLhK+UOF+BcavrWywJq GVo9R7yGkDpfhfA9Igltfz9Hnqrv7ei+BWY2stos3KNI8w9cgZ72ALdGIPobVGeM1MfR X7JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TUARYq3R; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a170906248600b006d6dd9c1311si1719017ejb.448.2022.03.03.13.05.06; Thu, 03 Mar 2022 13:05:34 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=TUARYq3R; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233279AbiCCRkh (ORCPT + 99 others); Thu, 3 Mar 2022 12:40:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233050AbiCCRkd (ORCPT ); Thu, 3 Mar 2022 12:40:33 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F31A01A06D9 for ; Thu, 3 Mar 2022 09:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646329187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bZQctFjnLH/g6bQ03AOVIzIbebLoxrEWUq6Eo5y0QFs=; b=TUARYq3RNVTdEQzj6VPxykdgnol97czyQQHXgGvbdHHviR44zqRdsOTKqt60HzL1QR8Tqm fQ/CEFPfG+oML6gXjhuAhFqk3ddU7RjNv9Qa6UVZpR8bWgFdGtRI4YHwqYeT1dLkd7Afen 2BH+U4xC6YgLCA0RVxw1kW1G/VLoJLw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-1uZJ9gMdMQ-J93JNPBxmtg-1; Thu, 03 Mar 2022 12:39:44 -0500 X-MC-Unique: 1uZJ9gMdMQ-J93JNPBxmtg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8A85E1091DA3; Thu, 3 Mar 2022 17:39:42 +0000 (UTC) Received: from cmirabil.remote.csb (unknown [10.22.9.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1DCDB804F2; Thu, 3 Mar 2022 17:39:41 +0000 (UTC) From: Charles Mirabile To: linux-kernel@vger.kernel.org Cc: Charles Mirabile , Serge Schneider , Stefan Wahren , Nicolas Saenz Julienne , Mattias Brugger , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, fedora-rpi@googlegroups.com, Lee Jones , Mwesigwa Guma , Joel Savitz Subject: [PATCH v7 1/6] drivers/mfd: sensehat: Add Raspberry Pi Sense HAT to simple_mfd_i2c Date: Thu, 3 Mar 2022 12:39:30 -0500 Message-Id: <20220303173935.100622-2-cmirabil@redhat.com> In-Reply-To: <20220303173935.100622-1-cmirabil@redhat.com> References: <20220303173935.100622-1-cmirabil@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the compatible string for the Sense HAT device to the list of compatible strings in the simple_mfd_i2c driver so that it can match against the device and load its children and their drivers. Co-developed-by: Mwesigwa Guma Signed-off-by: Mwesigwa Guma Co-developed-by: Joel Savitz Signed-off-by: Joel Savitz Signed-off-by: Charles Mirabile --- drivers/mfd/simple-mfd-i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c index 51536691ad9d..f916a9c84563 100644 --- a/drivers/mfd/simple-mfd-i2c.c +++ b/drivers/mfd/simple-mfd-i2c.c @@ -64,6 +64,7 @@ static int simple_mfd_i2c_probe(struct i2c_client *i2c) static const struct of_device_id simple_mfd_i2c_of_match[] = { { .compatible = "kontron,sl28cpld" }, + { .compatible = "raspberrypi,sensehat" }, {} }; MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match); -- 2.31.1