From patchwork Thu Nov 10 13:26:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 693218 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3tF3jx1P7Xz9t2F for ; Fri, 11 Nov 2016 00:27:01 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932820AbcKJN07 (ORCPT ); Thu, 10 Nov 2016 08:26:59 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:34910 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932295AbcKJN06 (ORCPT ); Thu, 10 Nov 2016 08:26:58 -0500 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGF0085SHCVEEA0@mailout3.samsung.com>; Thu, 10 Nov 2016 22:26:55 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-05-5824759fbe90 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 12.29.25310.F9574285; Thu, 10 Nov 2016 22:26:55 +0900 (KST) Received: from gangnam.samsung ([10.113.62.47]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OGF00KN2HCTN800@mmp2.samsung.com>; Thu, 10 Nov 2016 22:26:55 +0900 (KST) From: Andi Shyti To: Rob Herring , Jacek Anaszewski , Mauro Carvalho Chehab Cc: linux-leds@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Andi Shyti Subject: [RFC] Documentation: media, leds: move IR LED remote controllers from media to LED Date: Thu, 10 Nov 2016 22:26:50 +0900 Message-id: <20161110132650.5109-1-andi.shyti@samsung.com> X-Mailer: git-send-email 2.10.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsVy+t9jQd35pSoRBtceGltsP/KM1WL+kXOs Fr1XnzNabH2zjtGiZ8NWVovVzyos/u/Zwe7A7rFpVSebx5b+u+wefVtWMXp83iQXwBLlZpOR mpiSWqSQmpecn5KZl26rFBripmuhpJCXmJtqqxSh6xsSpKRQlphTCuQZGaABB+cA92AlfbsE t4yzxxvYCnbIV2zqW8fawLhCpouRg0NCwERizu24LkZOIFNM4sK99WxdjFwcQgKzGCXeHrzN BOF8ZJTY23uNEaSKTUBToun2D7AqEYFGRonFa7+zgiSYBeokejq3sIHYwgKxEgtWXwOzWQRU JebenAFWwytgJTF/83QWiHXyEgvPH2GawMi9gJFhFaNEakFyQXFSeq5hXmq5XnFibnFpXrpe cn7uJkZwYD6T2sF4cJf7IUYBDkYlHt4OTeUIIdbEsuLK3EOMEhzMSiK8d0pUIoR4UxIrq1KL 8uOLSnNSiw8xmgIdMJFZSjQ5Hxg1eSXxhibmJubGBhbmlpYmRkrivI2zn4ULCaQnlqRmp6YW pBbB9DFxcEo1MDJkzIrg35NhlMc4LeFgv/p74/sbchJTo/kVpBxfnrghN2H7UucVZ604pioW 8om5he/9Jqa/RmXNRg5mzRDLzzNmrRdzu/cgZsvEySGGec/VLlQdC5JqurVPaEaz8YdHUq/+ fOApZpH77uQYmzRRMlVyjeuZ/CilD0FrRQu5/xzZrGI6dZ4HjxJLcUaioRZzUXEiAO7Sb+Bi AgAA X-MTR: 20000000000000000@CPGS Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, this is purely a request for comments after a discussion had with Rob and Jacek [*] about where to place the ir leds binding. Rob wants the binding to be under led, while Jacek wants it in media... "Ubi maior minor cessat": it goes to LED and they can be organized in a subdirectory. Standing to Rob "Bindings are grouped by types of h/w and IR LEDs are a type of LED": all remote controllers have an IR LED as core device, even though the framework is under drivers/media/rc/, thus they naturally belong to the LED binding group. Please, let me know if this is the right approach. Thanks, Andi [*] https://lkml.org/lkml/2016/9/12/380 https://lkml.org/lkml/2016/11/9/622 --- .../devicetree/bindings/{media => leds/ir-leds}/gpio-ir-receiver.txt | 0 Documentation/devicetree/bindings/{media => leds/ir-leds}/hix5hd2-ir.txt | 0 Documentation/devicetree/bindings/{media => leds/ir-leds}/img-ir-rev1.txt | 0 Documentation/devicetree/bindings/{media => leds/ir-leds}/meson-ir.txt | 0 Documentation/devicetree/bindings/{media => leds/ir-leds}/nokia,n900-ir | 0 Documentation/devicetree/bindings/{media => leds/ir-leds}/st-rc.txt | 0 Documentation/devicetree/bindings/{media => leds/ir-leds}/sunxi-ir.txt | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename Documentation/devicetree/bindings/{media => leds/ir-leds}/gpio-ir-receiver.txt (100%) rename Documentation/devicetree/bindings/{media => leds/ir-leds}/hix5hd2-ir.txt (100%) rename Documentation/devicetree/bindings/{media => leds/ir-leds}/img-ir-rev1.txt (100%) rename Documentation/devicetree/bindings/{media => leds/ir-leds}/meson-ir.txt (100%) rename Documentation/devicetree/bindings/{media => leds/ir-leds}/nokia,n900-ir (100%) rename Documentation/devicetree/bindings/{media => leds/ir-leds}/st-rc.txt (100%) rename Documentation/devicetree/bindings/{media => leds/ir-leds}/sunxi-ir.txt (100%) diff --git a/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt b/Documentation/devicetree/bindings/leds/ir-leds/gpio-ir-receiver.txt similarity index 100% rename from Documentation/devicetree/bindings/media/gpio-ir-receiver.txt rename to Documentation/devicetree/bindings/leds/ir-leds/gpio-ir-receiver.txt diff --git a/Documentation/devicetree/bindings/media/hix5hd2-ir.txt b/Documentation/devicetree/bindings/leds/ir-leds/hix5hd2-ir.txt similarity index 100% rename from Documentation/devicetree/bindings/media/hix5hd2-ir.txt rename to Documentation/devicetree/bindings/leds/ir-leds/hix5hd2-ir.txt diff --git a/Documentation/devicetree/bindings/media/img-ir-rev1.txt b/Documentation/devicetree/bindings/leds/ir-leds/img-ir-rev1.txt similarity index 100% rename from Documentation/devicetree/bindings/media/img-ir-rev1.txt rename to Documentation/devicetree/bindings/leds/ir-leds/img-ir-rev1.txt diff --git a/Documentation/devicetree/bindings/media/meson-ir.txt b/Documentation/devicetree/bindings/leds/ir-leds/meson-ir.txt similarity index 100% rename from Documentation/devicetree/bindings/media/meson-ir.txt rename to Documentation/devicetree/bindings/leds/ir-leds/meson-ir.txt diff --git a/Documentation/devicetree/bindings/media/nokia,n900-ir b/Documentation/devicetree/bindings/leds/ir-leds/nokia,n900-ir similarity index 100% rename from Documentation/devicetree/bindings/media/nokia,n900-ir rename to Documentation/devicetree/bindings/leds/ir-leds/nokia,n900-ir diff --git a/Documentation/devicetree/bindings/media/st-rc.txt b/Documentation/devicetree/bindings/leds/ir-leds/st-rc.txt similarity index 100% rename from Documentation/devicetree/bindings/media/st-rc.txt rename to Documentation/devicetree/bindings/leds/ir-leds/st-rc.txt diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/leds/ir-leds/sunxi-ir.txt similarity index 100% rename from Documentation/devicetree/bindings/media/sunxi-ir.txt rename to Documentation/devicetree/bindings/leds/ir-leds/sunxi-ir.txt