Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2976039iob; Fri, 6 May 2022 14:56:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5mvbG7/BKnyRvNQTMmkiMpl1ZO8f0ASryNfmltun+gMHKowciC4B7Nf0fbU9wLNy1tsfu X-Received: by 2002:a05:6402:4392:b0:427:da50:d833 with SMTP id o18-20020a056402439200b00427da50d833mr5823967edc.97.1651874176049; Fri, 06 May 2022 14:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651874176; cv=none; d=google.com; s=arc-20160816; b=mDnxjdjK2HHtCMoX0Ug/omMnsuph1+gL6F16MG+Sw5z2FVx+3n2WK29kCuuTmUWYoI C01llWHCLyolr+l94HTbbue84GeT1SDhWaI7o5khnSE8qvKUdZbbcj3nNlKZYxwgWeAY 5Ird5FfByUI/HswwJvfGZ5gne44g5aKtdE1J5H8O1wOrNfe43w8yce2tZ78nDAnyQc7Q ltsT5Jc+x4+TTnOzJdYHjRTLi6fJYXjm7Fs0EzeaPkLHXPqX/SEiAuwOKJlKHN8lVTXs TdOJaaPm1cXKv/KWEJgp2HscfumUpBBlX6bMmdGQjIXvFADRWRin60beBYg5I6pWvThX cx7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uQU6+pxa5YTrxRAIL8mVv4Do+YJ60L5WD8h3yKTyJUM=; b=xw8dG6cUb/2uraoQn93Cgw2tpWDBq3eC7IhrhUX13WxZ1btrMk5f6r/+oYE+hPRjKQ Ows3GdMWKvpKBBLPw4yTCeuymHq/zAeNqIuTUMz2bKd9GqXztPfCOXfBOLtXL6gvwtKB DZLELkC0BJvWxWFTs5T5wlufq+V9Io6z01P/6KbsRkQr+Afk2phTYIvERGKYpSfHZJHv Uer/bAuOilUuDcewkfxM4BqJxGYfUoVGmypgWedFEDqcjZPzHV5u+Cg8oSwULxNed1R2 yGZ7+a9vb8ILytX50fz6xwSSFdWfwSkhMwyTndB+lDuH6MrX0dOH/hn1XGE3HWlJ6QVR +HfA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n23-20020a170906725700b006f3919a2a13si5315855ejk.683.2022.05.06.14.55.52; Fri, 06 May 2022 14:56:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376265AbiEDSHu convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 May 2022 14:07:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376484AbiEDSHh (ORCPT ); Wed, 4 May 2022 14:07:37 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 375AF6EC61 for ; Wed, 4 May 2022 10:23:00 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 0F6411C0BA5; Wed, 4 May 2022 19:22:57 +0200 (CEST) Date: Wed, 4 May 2022 19:22:56 +0200 From: Pavel Machek To: Charles Mirabile Cc: linux-kernel@vger.kernel.org, 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, Miguel Ojeda , Daniel Bauman , Mwesigwa Guma , Joel Savitz Subject: Re: [PATCH v9 3/6] drivers/auxdisplay: sensehat: Raspberry Pi Sense HAT display driver Message-ID: <20220504172256.GA1623@bug> References: <20220419205158.28088-1-cmirabil@redhat.com> <20220419205158.28088-4-cmirabil@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20220419205158.28088-4-cmirabil@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Hi! > This patch adds the driver for the 8x8 RGB LED matrix display > on the Sense HAT. It appears as a character device named sense-hat > in /dev/. That special file is 192 bytes large and contains 64 > RGB triplets (3 bytes each) one for each pixel in row major order. Is that right interface? Should we treat it as a tiny framebuffer, instead? Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html