return count;
}
+static ssize_t lcd_vx1_status_show(struct class *class,
+ struct class_attribute *attr, char *buf)
+{
+ return sprintf(buf, "vbyone status: lockn = %d hpdn = %d\n",
+ ((lcd_vcbus_read(VBO_STATUS_L) >> 7) & 0x1),
+ ((lcd_vcbus_read(VBO_STATUS_L) >> 6) & 0x1));
+}
+
static void lcd_tcon_reg_table_save(char *path, unsigned char *reg_table,
unsigned int size)
{
lcd_vx1_debug_show, lcd_vx1_debug_store),
__ATTR(phy, 0644,
lcd_phy_debug_show, lcd_phy_debug_store),
+ __ATTR(status, 0644,
+ lcd_vx1_status_show, NULL),
__ATTR(null, 0644, NULL, NULL),
};