Revision e24b6c03a17b20fb6473b3679f7423fae5731d05 authored by Takashi Iwai on 19 August 2015, 16:31:54 UTC, committed by Takashi Iwai on 19 August 2015, 16:31:54 UTC
ASoC: Disable topology support for v4.2

The topology code merged in the v4.2 merge window introduced a new ABI
which was believed to be suitable for use but subsequently additional
work by the developers of this feature have revealed some problems that
need to be addressed.  In order to allow this to be done without having
to support the initial ABI add Kconfig to disable the build and also add
some #error statements to the UAPI header so users can't use them.
2 parent s 59a51a6 + 8c90503
Raw File
sh_mobile_hdmi.h
/*
 * SH-Mobile High-Definition Multimedia Interface (HDMI)
 *
 * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef SH_MOBILE_HDMI_H
#define SH_MOBILE_HDMI_H

struct sh_mobile_lcdc_chan_cfg;
struct device;
struct clk;

/*
 * flags format
 *
 * 0x00000CBA
 *
 * A: Audio source select
 * B: Int output option
 * C: Chip specific option
 */

/* Audio source select */
#define HDMI_SND_SRC_MASK	(0xF << 0)
#define HDMI_SND_SRC_I2S	(0 << 0) /* default */
#define HDMI_SND_SRC_SPDIF	(1 << 0)
#define HDMI_SND_SRC_DSD	(2 << 0)
#define HDMI_SND_SRC_HBR	(3 << 0)

/* Int output option */
#define HDMI_OUTPUT_PUSH_PULL	(1 << 4) /* System control : output mode */
#define HDMI_OUTPUT_POLARITY_HI	(1 << 5) /* System control : output polarity */

/* Chip specific option */
#define HDMI_32BIT_REG		(1 << 8)
#define HDMI_HAS_HTOP1		(1 << 9)

struct sh_mobile_hdmi_info {
	unsigned int			 flags;
	long (*clk_optimize_parent)(unsigned long target, unsigned long *best_freq,
				    unsigned long *parent_freq);
};

#endif
back to top