From patchwork Mon Jul 1 20:46:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 168218 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3367151ilk; Mon, 1 Jul 2019 13:47:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7+ISWGMHT1VXsDuOcKbkRR/lhwZpgHg66Z/sfKupZwmZ0WgHMJXv/lVbW9OvoU7mWb7S/ X-Received: by 2002:a17:90a:25e6:: with SMTP id k93mr1363344pje.100.1562014036857; Mon, 01 Jul 2019 13:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562014036; cv=none; d=google.com; s=arc-20160816; b=A4h6qmclIUfU3rdgtcLP/O94RjSQRDIkci9ljFwizfpn/Y/7n02fbLGPaL9G3r8YHa FK4cHzBq5ITI1tbdF4TpFsMRbAXhVh9ao6vqeIX2FXd0nnTqnbs/QzcoEtFmlGU2NkCZ i4m6uDeqELjQY6tkG2MQ86lvb25TP2z85XZhnlNMTz+kgV8d8zG5w+m/N5k7MDl6rWVy 378ZQ5R4kFzNUvt3b/vNOBWa0uD5Pmwk7R1RAGhM8YSD4TsJNQ0rZsgDC+daI8qW2NVA L4CcZjZQNwshHQjOj/0cF0cFfKOsm1dVKo/UQlXkvM5zTnM+SZ/bZLlJx2SB80Rv1S0N WFYw== 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=LuHH3r33vwOOe+i2u9TPcJZYAfcej3+kWlJL9N4xdmc=; b=n40W+6EwT9aE86IcYnOqRjFXaXgKMsNw4t2vC9Ejzsntsc5p8T2snO9ej5T58s/IBm P13LaYc11vA8GhYytXWjnJvES2Ubhm2qE64yIVi/Zkx5peHVc13tkHeQ5zFM7NP8CkO2 LZRcA3uFO3rkVgIE24VE0hGTh5dShSId4dKjJb+SUTeCoTpVXU+E9ncdRuSGwyjuc1MN 9wTylwRMXFiI7aBIq+pbeNskLuatKKsl8NYd0YSO9DO4YP1HLjVWCSmYC2Wgp+chTtPn jZwe2Nvlj6V0BhkTKxV9RsrGhkPVbZqL6TKOUTQGryoI5aiAQF6A+7zUGu8vsmCWZXTE FNSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tv6IYFe5; 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 v74si11101227pgb.375.2019.07.01.13.47.16; Mon, 01 Jul 2019 13:47:16 -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=tv6IYFe5; 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 S1726962AbfGAUrP (ORCPT + 30 others); Mon, 1 Jul 2019 16:47:15 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:40460 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbfGAUrJ (ORCPT ); Mon, 1 Jul 2019 16:47:09 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x61Kl4SM083431; Mon, 1 Jul 2019 15:47:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562014024; bh=LuHH3r33vwOOe+i2u9TPcJZYAfcej3+kWlJL9N4xdmc=; h=From:To:CC:Subject:Date; b=tv6IYFe5C74r7B1eseFLx6yqqeXHw1n+BaJthj7Uhj8GrNkxd1YQ/L6GKTok0994G AmOqRyl7B/ovHqIrnS5fVQbGDKUaWM0Gu/4UPLqUNVV2WzbrS32jX1olU+xOOlGmOt hR928V+G7unYqf+xWgN+YwyGvuBYDLFdRN8VfKAM= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x61Kl41J023383 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 1 Jul 2019 15:47:04 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 1 Jul 2019 15:47:03 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.32) 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; Mon, 1 Jul 2019 15:47:03 -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 x61Kl31v120347; Mon, 1 Jul 2019 15:47:03 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v5 0/2] Multicolor Documentation update Date: Mon, 1 Jul 2019 15:46:32 -0500 Message-ID: <20190701204634.10517-1-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e 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 Hello After some off line conversations with the LED maintainers I update the documentation for the multicolor framework with what I hope to be a good compromise. I have add the "color_mix" (name is not set but could not think of a better one) file for writing the monochrome LEDs as a group. Also I have added a "color_id" file for each monochrome LED as read only so that the LED indexes in the array are known when writing to the color_mix file. This will help in determining the order of the LEDs in the array. I am not carrying any RoB/SoB in this patchset as these interfaces are changing. Dan Dan Murphy (2): leds: multicolor: Add sysfs interface definition documention: leds: Add multicolor class documentation .../ABI/testing/sysfs-class-led-multicolor | 67 ++++++++ Documentation/leds/leds-class-multicolor.txt | 145 ++++++++++++++++++ 2 files changed, 212 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-class-led-multicolor create mode 100644 Documentation/leds/leds-class-multicolor.txt -- 2.22.0.214.g8dca754b1e