From patchwork Fri Feb 14 09:43:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Jeong X-Patchwork-Id: 3651551 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8A0829F334 for ; Fri, 14 Feb 2014 09:43:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EE64D2021C for ; Fri, 14 Feb 2014 09:43:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F39042021B for ; Fri, 14 Feb 2014 09:43:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752023AbaBNJnS (ORCPT ); Fri, 14 Feb 2014 04:43:18 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:37462 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752011AbaBNJnO (ORCPT ); Fri, 14 Feb 2014 04:43:14 -0500 Received: by mail-pa0-f52.google.com with SMTP id bj1so12034957pad.25 for ; Fri, 14 Feb 2014 01:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=nTSSe3YK1dB+sHK/5jjRn8wfrytNoevqgTk2vJEeYjA=; b=sb6+UkrQwUzFTHNIyaSSSUwnNPD68tWOMxghl0TrANEO6GHy+rbQxEILxr1J5HEoJn Z+L1ernjOqc9ViZuldoEeqMzf58jQ/TfHCv5dlfutiTnQOt+wpl+z55CdY/lzNFSHjSR PSh7NgCDGRy0JVmp+eSme3lrPpOyWjVviGO/maJkEaeIJGmzo/fAjevMAq0pWa98iSc8 nP0X3/XppbQaOMnwM8z2jdmt89R3yJbIBmKjrm1TxKgOi/Y12gISMFMp+Lb/8hOEukWs SniIKUHfSLfP2ojz8RD1snB6NS6Ty0tG7xBwtQ4jr64DHGxg8MKNWpdvNm7QGFg2dEOq QZsA== X-Received: by 10.66.160.225 with SMTP id xn1mr7899845pab.108.1392370994314; Fri, 14 Feb 2014 01:43:14 -0800 (PST) Received: from localhost.localdomain ([117.111.3.229]) by mx.google.com with ESMTPSA id eb5sm36579316pad.22.2014.02.14.01.43.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Feb 2014 01:43:13 -0800 (PST) From: Daniel Jeong To: Mauro Carvalho Chehab , Sakari Ailus , Andy Shevchenko Cc: Hans Verkuil , Daniel Jeong , Subject: [RFC v3,1/3] v4l2-controls.h: add addtional Flash fault bits Date: Fri, 14 Feb 2014 18:43:03 +0900 Message-Id: <1392370983-32510-1-git-send-email-gshark.jeong@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 addtional falult bits for FLASH V4L2_FLASH_FAULT_UNDER_VOLTAGE : UVLO V4L2_FLASH_FAULT_INPUT_VOLTAGE : input voltage is adjusted by IVFM V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE : NTC Trip point is crossed. Signed-off-by: Daniel Jeong --- include/uapi/linux/v4l2-controls.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index 2cbe605..1d662f6 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -812,6 +812,9 @@ enum v4l2_flash_strobe_source { #define V4L2_FLASH_FAULT_SHORT_CIRCUIT (1 << 3) #define V4L2_FLASH_FAULT_OVER_CURRENT (1 << 4) #define V4L2_FLASH_FAULT_INDICATOR (1 << 5) +#define V4L2_FLASH_FAULT_UNDER_VOLTAGE (1 << 6) +#define V4L2_FLASH_FAULT_INPUT_VOLTAGE (1 << 7) +#define V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE (1 << 8) #define V4L2_CID_FLASH_CHARGE (V4L2_CID_FLASH_CLASS_BASE + 11) #define V4L2_CID_FLASH_READY (V4L2_CID_FLASH_CLASS_BASE + 12)