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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3E7DFC433EF for ; Tue, 12 Apr 2022 20:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6894qAHH/zvOwy1q7TxqW8wMhRQmQnliDfuybX+1/ZM=; b=hV6+gX4s0Hw1xJ nW6y71ZhaVWbD1fxmwZs6FNaiWiltR3RWNwNI9Itmejffibp80nTS1ORItNIj2ZgMCdvEhyN6Rj1N wuDcm+fg5C8ziQ1yAfQmQpRlMGjWpAM8W2wO1hSXlwt2TQP0tqulFRLJ0QI17kvPgUpwxlLFUeG1o lnvJCmvVD6X3/K9J6V+cLqjaZjiNLU0UwKomJp04YkZUcK34OXN8Nqdxrm1hwtXV4frprD74yWzLC hKyq2YeYF4nzB43FKPCne6Lhp5mRSvhzwEKa/Vc2+2FRyxUODC/UfIcJjgqB11a9sfBQz87lzoOFd m7RP2gsxVrfIu++bsNtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neMvd-00Ffkv-Op; Tue, 12 Apr 2022 20:15:57 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neMvZ-00FfhV-QC for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2022 20:15:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649794551; 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=wKeEjLPVCQWQYsPyoUlmVTqyS0GcmUXtUuQ8I/MM+9k=; b=RqcOATVTReH2oZDvHQa0JMICEjXzVItbdfrvt+mfPgIkGY16h49Us0Sam7cMxqBVPMMArd 6VpxPCUbWHxD6CIuMsybVp3j0F5fuD34LBrH174uEZHz4eh9yVrhjs9QOt67R9ybUVDoIW ewtvEkflN/Wzoi0M2AH4f7hHCC0toP4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-460-9r7wI2JXNEKUjGeycyMjeA-1; Tue, 12 Apr 2022 16:14:14 -0400 X-MC-Unique: 9r7wI2JXNEKUjGeycyMjeA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 68A721C05155; Tue, 12 Apr 2022 20:14:14 +0000 (UTC) Received: from cmirabil.remote.csb (unknown [10.22.32.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id F3397416363; Tue, 12 Apr 2022 20:14:13 +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, Mwesigwa Guma , Joel Savitz Subject: [PATCH v8 6/6] DO NOT MERGE: full sensehat device tree overlay for raspberry pi 4 Date: Tue, 12 Apr 2022 16:13:43 -0400 Message-Id: <20220412201343.8074-7-cmirabil@redhat.com> In-Reply-To: <20220412201343.8074-1-cmirabil@redhat.com> References: <20220412201343.8074-1-cmirabil@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220412_131554_012143_757B7095 X-CRM114-Status: GOOD ( 16.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch shold not be merged - dtbs files are not stored in the kernel tree. We just provide this file so the code can be tested. This overlay is suitable for testing the driver, it can be compiled with dtc and put in the /boot/overlays/ folder then specified in config.txt by putting the lines: dtoverlay= #suppress loading of default overlay for HAT dtoverlay=sensehat #load custom overlay at the beginning before any other lines in config.txt 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 --- sensehat.dtbs | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 sensehat.dtbs diff --git a/sensehat.dtbs b/sensehat.dtbs new file mode 100644 index 000000000000..82d129c847fb --- /dev/null +++ b/sensehat.dtbs @@ -0,0 +1,54 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "brcm,bcm2835"; +}; + +&i2c1 { + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "okay"; + + sensehat@46 { + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "raspberrypi,sensehat"; + reg = <0x46>; + interrupt-parent = <&gpio>; + status = "okay"; + display { + compatible = "raspberrypi,sensehat-display"; + status = "okay"; + }; + joystick { + compatible = "raspberrypi,sensehat-joystick"; + interrupts = <23 1>; + status = "okay"; + }; + }; + + lsm9ds1-magn@1c { + compatible = "st,lsm9ds1-magn"; + reg = <0x1c>; + status = "okay"; + }; + + lsm9ds1-accel@6a { + compatible = "st,lsm9ds1-accel"; + reg = <0x6a>; + status = "okay"; + }; + + lps25h-press@5c { + compatible = "st,lps25h-press"; + reg = <0x5c>; + status = "okay"; + }; + + hts221-humid@5f { + compatible = "st,hts221-humid\0st,hts221"; + reg = <0x5f>; + status = "okay"; + }; +}; -- 2.31.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel