This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0 | |
/* | |
* A V4L2 driver for Sony imx585 cameras. | |
* | |
* Based on Sony imx477 camera driver | |
* Copyright (C) 2019-2020 Raspberry Pi (Trading) Ltd | |
*/ | |
#include <asm/unaligned.h> | |
#include <linux/clk.h> | |
#include <linux/delay.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <sys/types.h> | |
#include <sys/time.h> | |
#include <time.h> | |
#include <string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0 | |
/* | |
* A V4L2 driver for Sony imx585 cameras. | |
* | |
* Based on Sony imx477 camera driver | |
* Copyright (C) 2019-2020 Raspberry Pi (Trading) Ltd | |
*/ | |
#include <asm/unaligned.h> | |
#include <linux/clk.h> | |
#include <linux/delay.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <sys/mman.h> | |
#define BIT(n) (1 << (n)) | |
#define UNICAM_BASE_ADDR 0xFE801000 |