From patchwork Fri Jan 9 15:22:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 5600941 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F28B49F357 for ; Fri, 9 Jan 2015 15:34:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3DB17205D8 for ; Fri, 9 Jan 2015 15:34:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0941205D3 for ; Fri, 9 Jan 2015 15:34:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756602AbbAIPXt (ORCPT ); Fri, 9 Jan 2015 10:23:49 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:23333 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757902AbbAIPXq (ORCPT ); Fri, 9 Jan 2015 10:23:46 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NHX00GEC1FK4FC0@mailout2.samsung.com>; Sat, 10 Jan 2015 00:23:44 +0900 (KST) X-AuditID: cbfee61a-f79c06d000004e71-94-54aff27fc7ee Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 33.71.20081.F72FFA45; Sat, 10 Jan 2015 00:23:43 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NHX003F51EOLH20@mmp2.samsung.com>; Sat, 10 Jan 2015 00:23:43 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, kyungmin.park@samsung.com, b.zolnierkie@samsung.com, pavel@ucw.cz, cooloney@gmail.com, rpurdie@rpsys.net, sakari.ailus@iki.fi, s.nawrocki@samsung.com, Jacek Anaszewski , Lee Jones , Chanwoo Choi Subject: [PATCH/RFC v10 04/19] dt-binding: mfd: max77693: Add DT binding related macros Date: Fri, 09 Jan 2015 16:22:54 +0100 Message-id: <1420816989-1808-5-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1420816989-1808-1-git-send-email-j.anaszewski@samsung.com> References: <1420816989-1808-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLLMWRmVeSWpSXmKPExsVy+t9jQd36T+tDDA7ctLHYOGM9q8XRnROZ LK5/ec5qMf/IOVaL3qvPGS3ONr1ht7j/9SijxeVdc9gstr5Zx2jRs2Erq8XdU0fZLHbvespq cfhNO6vFmf0r2Rz4PHbOusvucfjrQhaPO9f2sHnsmf+D1aNvyypGjxWrv7N7fN4kF8AexWWT kpqTWZZapG+XwJVxdut69oLVnBWXXjxha2D8xd7FyMkhIWAisefACxYIW0ziwr31bF2MXBxC AtMZJW5PuMkGkhASaGeSOHgKzGYTMJT4+eI1UxcjB4eIQLTEpWP1IPXMApuYJN5dOMEMUiMs ECnxf9kmsHoWAVWJ5f/7GUFsXgF3icmnLjOC9EoIKEjMmWQDYnIKeEi0/HYCMYWAKt5cNZzA yLuAkWEVo2hqQXJBcVJ6rqFecWJucWleul5yfu4mRnCgPpPawbiyweIQowAHoxIP7wa59SFC rIllxZW5hxglOJiVRHgbNgOFeFMSK6tSi/Lji0pzUosPMUpzsCiJ8yrZt4UICaQnlqRmp6YW pBbBZJk4OKUaGG3NglJ/sTbo3el/8sxV/MYsL8No8SDF+ylrg2TXzFVctWcLs45N0/PM5mNd 1SsY83tjpry2Ycz3qDszM2jF69MiikdYUy9Ynu549EjypauI4xS7X7/cmHJffT3V6bRr1vF2 trqyqI9md2U6JhYoqyUnySmn370eXv/bXEgoan5nsKOrXoWrEktxRqKhFnNRcSIANJkv4lAC AAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add macros for max77693 led part related binding. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Lee Jones Cc: Chanwoo Choi Acked-by: Pavel Machek --- include/dt-bindings/mfd/max77693.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/dt-bindings/mfd/max77693.h diff --git a/include/dt-bindings/mfd/max77693.h b/include/dt-bindings/mfd/max77693.h new file mode 100644 index 0000000..f53e197 --- /dev/null +++ b/include/dt-bindings/mfd/max77693.h @@ -0,0 +1,21 @@ +/* + * This header provides macros for MAX77693 device binding + * + * Copyright (C) 2014, Samsung Electronics Co., Ltd. + * + * Author: Jacek Anaszewski + */ + +#ifndef __DT_BINDINGS_MAX77693_H__ +#define __DT_BINDINGS_MAX77693_H + +/* External trigger type */ +#define MAX77693_LED_TRIG_TYPE_EDGE 0 +#define MAX77693_LED_TRIG_TYPE_LEVEL 1 + +/* Boost modes */ +#define MAX77693_LED_BOOST_OFF 0 +#define MAX77693_LED_BOOST_ADAPTIVE 1 +#define MAX77693_LED_BOOST_FIXED 2 + +#endif /* __DT_BINDINGS_MAX77693_H */