From patchwork Sat Sep 19 22:15:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 1367740 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.a=rsa-sha256 header.s=default header.b=M+YV9S1l; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4Bv4m34R32z9sRR for ; Sun, 20 Sep 2020 08:16:03 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726730AbgISWPx (ORCPT ); Sat, 19 Sep 2020 18:15:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726617AbgISWPx (ORCPT ); Sat, 19 Sep 2020 18:15:53 -0400 Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16548C0613CE; Sat, 19 Sep 2020 15:15:52 -0700 (PDT) Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id 5A00A140925; Sun, 20 Sep 2020 00:15:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1600553749; bh=zCbpIM/C4TLd7NaidOQ92vSkSL8MTP7HW502znmDqcE=; h=From:To:Date; b=M+YV9S1lx1aeX/qUFLBHxb6+4fmWRQQ1JJpCisjFf5kH3RcScov34gpsJAssT114w Wye+CM+hQzE9ZWdWkU++pzUVGZQHVzgm8lCIzg2f5SgvF0q7BGFgPQ+2XtUmetRU0J 11JNGPwYTvV/a11/MgrROdYkM5Wo5U15tCjdbIC4= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: linux-leds@vger.kernel.org Cc: Pavel Machek , Dan Murphy , =?utf-8?q?Mare?= =?utf-8?q?k_Beh=C3=BAn?= , NeilBrown , Linus Walleij , "H . Nikolaus Schaller" , Tony Lindgren , Adam Ford , Viresh Kumar , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH leds + devicetree 00/13] leds: tca6507 cleanup Date: Sun, 20 Sep 2020 00:15:35 +0200 Message-Id: <20200919221548.29984-1-marek.behun@nic.cz> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz X-Spam-Status: No, score=0.00 X-Spamd-Bar: / X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Pavel, this is a cleanup of tca6507 LED driver. This series applies on your for-next, but: - the last patch should be added only after LED core parses `linux,default-trigger` property - there is DT binding change and device tree change, I am not sure who should apply those patches Mainly we are getting rid of platform data, but also a potential bug is being fixed and bindings are DT being aligned. Marek Cc: NeilBrown Cc: Linus Walleij Cc: H. Nikolaus Schaller Cc: Tony Lindgren Cc: Adam Ford Cc: Viresh Kumar Cc: Rob Herring Cc: devicetree@vger.kernel.org Marek BehĂșn (13): leds: tca6507: Absorb platform data leds: tca6507: use fwnode API instead of OF dt-bindings: leds: tca6507: convert to YAML ARM: dts: omap3: gta04: rename LED controlled subnodes leds: tca6507: do not set GPIO names leds: tca6507: cosmetic change: use helper variable leds: tca6507: register LEDs and GPIOs immediately after parsing leds: tca6507: remove binding comment leds: tca6507: use devres for LED and gpiochip registration leds: tca6507: let gpiolib set gpiochip's of_node leds: tca6507: fail on reg value conflict leds: tca6507: set registers to zero before LEDs/GPIOs registration leds: tca6507: use struct led_init_data when registering .../devicetree/bindings/leds/tca6507.txt | 49 ---- .../devicetree/bindings/leds/ti,tca6507.yaml | 134 ++++++++++ arch/arm/boot/dts/omap3-gta04.dtsi | 12 +- drivers/leds/leds-tca6507.c | 234 ++++++------------ include/linux/leds-tca6507.h | 21 -- 5 files changed, 217 insertions(+), 233 deletions(-) delete mode 100644 Documentation/devicetree/bindings/leds/tca6507.txt create mode 100644 Documentation/devicetree/bindings/leds/ti,tca6507.yaml delete mode 100644 include/linux/leds-tca6507.h base-commit: a0e550dc351ab5fabe8ea86e45b974494a0a6bf8