From patchwork Wed Sep 25 17:46:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 174390 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp944297ill; Wed, 25 Sep 2019 10:41:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqx948YJJ6BciDI4Ya5pHKSyIFH28dlmDJP8uoJEFJJJJbH3a7j1YEfFPvcW/zekwxi+D0SQ X-Received: by 2002:a50:fb16:: with SMTP id d22mr4311806edq.30.1569433293590; Wed, 25 Sep 2019 10:41:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569433293; cv=none; d=google.com; s=arc-20160816; b=sj3Y9ao0neQCxaLQF7eyZJl1JWibHwOJkV1WWtYMUBVWQkali8SN21PCarQLTAOah5 mYdcdS6ZkIvmQ4OBoitLQ4rsQSwKwhPJ5ke74+YD8lUYmMZ5HJp49MwT8ppt5Bab06Z+ DkKVf32a6vtFCrLV6q6e7ex9Qbub3X0XcRabLwar0q+OrW4SznQg94rL0VK6r4T/Y2XB DTECoclviU7lAAE8KjQYK5yQ5anaIM0IZj5DuOyia9Cr8T60I1vAP3kicgShOm0+l/EQ udfxgIG5CyrPAhIsg1vl9F4KWHCaV/Z5KblMCyODngACJSBUTdRLoC4q51byWMd8jffh /s7g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rE1raxC4CYcOMBpyDcOR0IFq0FY0PvxtcY0Jb3Au5oc=; b=ZOGOXnWcm5gpkY/Os22YqF4OPUy8dcTleOR1LO2U2DyNAR5RqwZOOWliapcx4Yqnfh +REQVEimqs/KaCNowTZOTNE+dnIQQufvSt8zG9VI/1gtYMpFD6IDFiik9aD+4D8tIOm/ UMjQ5FFdVFrIgpKLbBi92IwCJxOCZOa6P+hQgQc/uGRqOvVbTY+BPcOi77mWcOE9ZP74 OhyXbwJ4lM7jH12sxmISmo6cNwFDoYiUGJLW2/5P81+vf59LJ9rp3EDy/2OjV3RpYR1y yCmbi+OMq5Bt35cn8i/wMWYuXcb4kumwmlbAhTB6BqNHQPey0yAxPLxbhr7OnrxrXK6U xpzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pwS9sX18; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d1si3572241edr.446.2019.09.25.10.41.33; Wed, 25 Sep 2019 10:41:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pwS9sX18; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2443127AbfIYRlc (ORCPT + 26 others); Wed, 25 Sep 2019 13:41:32 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:58586 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443057AbfIYRla (ORCPT ); Wed, 25 Sep 2019 13:41:30 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfHkm055232; Wed, 25 Sep 2019 12:41:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569433277; bh=rE1raxC4CYcOMBpyDcOR0IFq0FY0PvxtcY0Jb3Au5oc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pwS9sX18bOWcE+7+tfpICmUYcGy/BGbBD6V2iaOnd/ffcrzzYEkgrvGcMU3zCc9sp sleN9lp67S7y381PR7LtvphYdF5OA6lXEsbRhYgpWpPs0g5GaXhWgMlfKaRVcVmrKK LwnMPlMGDhH6tLPjGla59pA7CmwBMOUAdjb8AtbE= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8PHfHwR048357 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 25 Sep 2019 12:41:17 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 25 Sep 2019 12:41:17 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 25 Sep 2019 12:41:10 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfGrg129626; Wed, 25 Sep 2019 12:41:17 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH v9 11/15] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Date: Wed, 25 Sep 2019 12:46:12 -0500 Message-ID: <20190925174616.3714-12-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190925174616.3714-1-dmurphy@ti.com> References: <20190925174616.3714-1-dmurphy@ti.com> MIME-Version: 1.0 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 Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel Team CC: Fabio Estevam CC: NXP Linux Team --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.22.0.214.g8dca754b1e diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index e8d800fec637..cafc99fce1ba 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -257,29 +257,35 @@ reg = <0x30>; clock-mode = /bits/ 8 <1>; status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; chan0 { chan-name = "R"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <0>; }; chan1 { chan-name = "G"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <1>; }; chan2 { chan-name = "B"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <2>; }; chan3 { chan-name = "W"; led-cur = /bits/ 8 <0x0>; max-cur = /bits/ 8 <0x0>; + reg = <3>; }; };