Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5755097rwr; Mon, 24 Apr 2023 08:31:39 -0700 (PDT) X-Google-Smtp-Source: AKy350ZKmh6hxZdmAt0CCuQwZ/UObkYYj7CgdWaw1gBaf6bdpt/fjSRRBX9NJCAfj0jeGI0K2xWn X-Received: by 2002:a05:6a00:2d24:b0:640:ddf8:607a with SMTP id fa36-20020a056a002d2400b00640ddf8607amr2388226pfb.14.1682350299516; Mon, 24 Apr 2023 08:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682350299; cv=none; d=google.com; s=arc-20160816; b=cpR1VsQ2yLHH7TZz8aTPSpf/rK9U7ChBUbZM0/mnxvboGSf4HKqW7vbgTpgr5DLkz0 aqL0kQQn9fosgvvirEc755ZiO712LQQfPsjagVPgpvJYngvJNsvk4m7f7wvWVxovYjS6 OTUoljtNM+gGR3qQ7ui2vmFDK8uKkdyCgROJGiwXJ2buNTTV37PB32AzK1SmEM31xmwi T0kk44mJvf6dhOCEDU6nDqhfcwidHoJTDcqUBJo02hW/3x6/APnjn/ejGeQ6lLBInZlF rUEHc1sdQ+IayxDhgaxk6sD6QiJXYFS4jn4hjI4HZgBCFnzghYbAorM5TUFmxgUsnEDm lcng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=GkAmIDV/b69eR+YgLvbu1blOuTMIPMPvJTphs0nNSp4=; b=VY7GzFvoqxEoPF1tvBTmiwYFpl+6Vz0YU+f26QEhZCO+yQdRdf/MTXxPdE97tM4J/N mTQM2IYVVTZDFuyxn4lxeo79CHNIy3Nj00AC17ehf4cD3Ts+JFVA1ZpF9zRJxw745VMn 4e2Bimda3WTbb1mXy8wzKV+wQw6/ksPnFukuzBDJxUSaE7Ijhh5QgtiUCReZaOMEJZAS n55Tv2TxU6Qeu/1x9ljE1POOZCMYL6eim1ilChOxZbJX4VEpUY/sQJWFtUEzHpUUYI6z 8Lr9OrIolInfc/kbfFb76hR5z6djP76Sr26+3c0mbn2hhWe6Cq7+x172eBlcS5Dp9/Uf 8pWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fUwHShAC; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a635c11000000b0051909d663desi10956326pgb.481.2023.04.24.08.31.10; Mon, 24 Apr 2023 08:31:39 -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=@intel.com header.s=Intel header.b=fUwHShAC; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232080AbjDXPW1 (ORCPT + 99 others); Mon, 24 Apr 2023 11:22:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231873AbjDXPWU (ORCPT ); Mon, 24 Apr 2023 11:22:20 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EF5B86BF; Mon, 24 Apr 2023 08:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682349738; x=1713885738; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qcfml2mDJ01bBf69Gj3gLLlNibuMy0QAooiEzfCDtEA=; b=fUwHShACM3/yxnHfxT/5HifGQuosKHcAwCo6YwlAPABjdw05WaxDi5w+ XHn3eUlhnKWRkwQoudDt23qB2q9kqFZm5x0Ea/WsLBG7MS+xQA8h1yvsb zsEDN+4WIU2JdhfO5xlKp0psHgSyyfk6+lBOnsxxKD9FTUNeZhWZXb/ZY Rlo+vnBImmzhb3KNNJnJ3Oq8Bd6OtKTD1K54BkCEhnLhpdFLQQ/F/xgeQ ffFVy7i2OhzzQMJs8hmvm4cNG4fEBAK5/Q+OS3kIsAPEr6JpXCyOQX+WO ByNDChwhxw8F3xY4F6xvHwxLSqoXgX406gYdJEOhsbaPih1302eSIhhDO Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="348389273" X-IronPort-AV: E=Sophos;i="5.99,223,1677571200"; d="scan'208";a="348389273" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 08:22:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="939365080" X-IronPort-AV: E=Sophos;i="5.99,223,1677571200"; d="scan'208";a="939365080" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP; 24 Apr 2023 08:22:13 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pqy15-004ZO9-1L; Mon, 24 Apr 2023 18:22:11 +0300 Date: Mon, 24 Apr 2023 18:22:11 +0300 From: Andy Shevchenko To: Matti Vaittinen Cc: Matti Vaittinen , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Zhigang Shi , Shreeya Patel , Paul Gazzillo , Dmitry Osipenko , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/5] iio: light: ROHM BU27008 color sensor Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,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 On Mon, Apr 24, 2023 at 04:10:09PM +0300, Matti Vaittinen wrote: > The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear > and IR) with four configurable channels. Red and green being always > available and two out of the rest three (blue, clear, IR) can be > selected to be simultaneously measured. Typical application is adjusting > LCD backlight of TVs, mobile phones and tablet PCs. > > Add initial support for the ROHM BU27008 color sensor. > - raw_read() of RGB and clear channels > - triggered buffer w/ DRDY interrtupt ... This... > +#include ...is guaranteed to be included by this. > +#include ... > +static const struct of_device_id bu27008_of_match[] = { > + { .compatible = "rohm,bu27008", }, Inner comma is not necessary to have. > + { } > +}; -- With Best Regards, Andy Shevchenko