xref: /netbsd-src/share/man/man4/tea5767radio.4 (revision a3f30bc3f506089b46eca93260a0a9bb7ea59bc2)
1.\"	$NetBSD: tea5767radio.4,v 1.3 2020/08/28 16:07:49 fcambus Exp $
2.\"
3.\" Copyright (c) 2018 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Karuna Grewal.
8.\"
9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions
11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in the
16.\"    documentation and/or other materials provided with the distribution.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
30.Dd July 6, 2018
31.Dt TEA5767RADIO 4
32.Os
33.Sh NAME
34.Nm tea5767
35.Nd Philips/NXP TEA5767 FM Chip
36.Sh SYNOPSIS
37.Cd "tea5767radio* at iic? addr 0x60 flags 0x00"
38.Cd "radio* at tea5767radio?"
39.Sh DESCRIPTION
40The
41.Nm
42driver provides support for the Philips/NXP TEA5767 FM stereo radio.
43.Pp
44The
45.Nm
46can tune in the range 87.5 \- 108.0 MHz, perform hardware signal search
47and supports mono/stereo toggling.
48.Pp
49The flags control the FM Band, XTAL, and PLL values as follows:
50.Bl -tag -width Ds
51.It 0x01
52Sets the FM Band to Japan.
53.It 0x02
54Sets the PLL bit.
55.It 0x04
56Sets the XTAL bit.
57.It 0x08
58Force enables hardware search support.
59.El
60.Sh SEE ALSO
61.Xr iic 4 ,
62.Xr radio 4 ,
63.Xr radio 9
64.Rs
65.%A TEA5767
66.%T Low-power FM stereo radio
67.%N Rev. 05
68.%D 26 January 2007
69.Re
70.Sh CAVEATS
71Many popular TEA5767 evaluation boards feature low quality 32.768kHz crystals.
72The inaccuracy of these crystals may often lead to malfunction of the hardware
73search function.
74Therefore, the
75.Nm
76driver tries to detect the crystal quality during attachment.
77If the crystal
78of insufficient accuracy was detected, the hardware search function is disabled.
79It can be forcefully re-enabled by setting the 0x08 flag.
80