Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp765637pxa; Wed, 12 Aug 2020 12:51:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVXw7yy4OPAfIZwKrWakF0Cyn6g+uJmRfvDa5yf5WcDh2n2smC5cnEW66uO2S/wvtkzyLI X-Received: by 2002:a17:906:ce43:: with SMTP id se3mr1391886ejb.403.1597261894357; Wed, 12 Aug 2020 12:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597261894; cv=none; d=google.com; s=arc-20160816; b=yul+9JM1SwCAAgdIjnyh3G04N2UKQP8J4ILfZGl7xaFE+fIAovwHXblWUkqoSfnei4 oxphwmMGHrIk5R4LAqJswJq0+pUiVxgeJEP2wGaiGGRZmLrsoBGL9osZwzEv04U2TEnA Yy2wf2SS20JBIyBDzuRGk73+fH2JjlQih8wgOXdMC0BUvL/wygmvmdusu+pI4qu0rDj7 j/urihjx0/PQtMFICLbiImujwrTXcDI8CJZY+dvuGEQa31xjo6tysqGJ9Ygzd1Dyxa+P 8vs0y2SxMecelfNMCkPcPRdMNfznodDOUVz0NMkqLlT7ZJFCiOy+CGC9fQ8b9mXj4Z/W SLuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=T0TvMRXLEYd7VyqjQ3n8OazCVX9xX3llTyDlXEMt8FM=; b=qRNPzfR7CTjGvjcK2IDsoUDjhj8x++CkvCdyPHp3kdcQ2LNZdcCRxchH42xv7NGKw7 McToseVJsiytGlpv7c6QSXxn6TydZMRgYhz7Gl8sonIFUANB8tqTSjL5MvHokKU1oVua jVYMBSqoQQKeUzPfH3cJN96ibFR98qwwFkQQhc1yO7Yp8dWst+tHUpIlo0J9hQ67sID3 lDymmX1iyErEhl7qWfumhIgTB5wYdrRJiKhcxJC0ZQxAVaAezQZT7EFdUZymxbQ3hyyQ xHj7SnXVhKMMI33lDEjIYe7z+C3KBkMH69OH/4KTDNAy2yHUqXmUC9428ogE98o0H3I+ jmvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qi6quTcd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si1816314ejx.438.2020.08.12.12.51.10; Wed, 12 Aug 2020 12:51:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qi6quTcd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbgHLTun (ORCPT + 99 others); Wed, 12 Aug 2020 15:50:43 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44528 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbgHLTum (ORCPT ); Wed, 12 Aug 2020 15:50:42 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 07CJoQqV110975; Wed, 12 Aug 2020 14:50:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1597261826; bh=T0TvMRXLEYd7VyqjQ3n8OazCVX9xX3llTyDlXEMt8FM=; h=From:To:CC:Subject:Date; b=qi6quTcdTqtPa8SKIm7fGhi/eSbGBIxLANVZODNqQxIVVp9G58hhuM3rpd16uShTh LSjXa8h1MwUhWvfgBRkb8OSy2I/1joEVsTVpws8JogBoDhCECGPMe1a7PF1sJ01GG+ DL+G0pky918/+t/SluvfK9ckSpT4C6uOhJ9FVx54= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 07CJoQxl125945; Wed, 12 Aug 2020 14:50:26 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 12 Aug 2020 14:50:26 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 12 Aug 2020 14:50:26 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 07CJoQAc109760; Wed, 12 Aug 2020 14:50:26 -0500 From: Dan Murphy To: , , , CC: , , , , Dan Murphy Subject: [PATCH v33 0/6] LP50xx addition and remainder Multicolor patches Date: Wed, 12 Aug 2020 14:50:14 -0500 Message-ID: <20200812195020.13568-1-dmurphy@ti.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello These are the final patches from the original multicolor framework patchset. Changes made were to the LP50xx to rework regmap_defaults to eliminate used only once #defines. Also fixed putting the child node in the dt parsing and changed regmap regcache type to flat. Dan Dan Murphy (6): dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family of the RGB LED driver ARM: defconfig: u8500: Add LP55XX_COMMON config flag ARM: dts: n900: Add reg property to the LP5523 channel node ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node ARM: dts: ste-href: Add reg property to the LP5521 channel nodes .../devicetree/bindings/leds/leds-lp50xx.yaml | 130 ++++ arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 +- arch/arm/boot/dts/omap3-n900.dts | 29 +- arch/arm/boot/dts/ste-href.dtsi | 22 +- arch/arm/configs/u8500_defconfig | 1 + drivers/leds/Kconfig | 11 + drivers/leds/Makefile | 1 + drivers/leds/leds-lp50xx.c | 634 ++++++++++++++++++ 8 files changed, 823 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/leds-lp50xx.yaml create mode 100644 drivers/leds/leds-lp50xx.c -- 2.28.0