fdtdec.c (ee1e3c2f23bcf7a46ad91484ec2dd40653703b61) fdtdec.c (88364387c60dc72549ccf7f2d595cbf847ab4e17)
1/*
2 * Copyright (c) 2011 The Chromium OS Authors.
3 * See file CREDITS for list of people who contributed to this
4 * project.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of

--- 43 unchanged lines hidden (view full) ---

52 COMPAT(NVIDIA_TEGRA20_SLINK, "nvidia,tegra20-slink"),
53 COMPAT(NVIDIA_TEGRA114_SPI, "nvidia,tegra114-spi"),
54 COMPAT(SMSC_LAN9215, "smsc,lan9215"),
55 COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"),
56 COMPAT(SAMSUNG_S3C2440_I2C, "samsung,s3c2440-i2c"),
57 COMPAT(SAMSUNG_EXYNOS5_SOUND, "samsung,exynos-sound"),
58 COMPAT(WOLFSON_WM8994_CODEC, "wolfson,wm8994-codec"),
59 COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"),
1/*
2 * Copyright (c) 2011 The Chromium OS Authors.
3 * See file CREDITS for list of people who contributed to this
4 * project.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of

--- 43 unchanged lines hidden (view full) ---

52 COMPAT(NVIDIA_TEGRA20_SLINK, "nvidia,tegra20-slink"),
53 COMPAT(NVIDIA_TEGRA114_SPI, "nvidia,tegra114-spi"),
54 COMPAT(SMSC_LAN9215, "smsc,lan9215"),
55 COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"),
56 COMPAT(SAMSUNG_S3C2440_I2C, "samsung,s3c2440-i2c"),
57 COMPAT(SAMSUNG_EXYNOS5_SOUND, "samsung,exynos-sound"),
58 COMPAT(WOLFSON_WM8994_CODEC, "wolfson,wm8994-codec"),
59 COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"),
60 COMPAT(GOOGLE_CROS_EC, "google,cros-ec"),
60 COMPAT(SAMSUNG_EXYNOS_EHCI, "samsung,exynos-ehci"),
61 COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"),
62 COMPAT(SAMSUNG_EXYNOS_TMU, "samsung,exynos-tmu"),
63 COMPAT(SAMSUNG_EXYNOS_FIMD, "samsung,exynos-fimd"),
64 COMPAT(SAMSUNG_EXYNOS5_DP, "samsung,exynos5-dp"),
65 COMPAT(SAMSUNG_EXYNOS5_DWMMC, "samsung,exynos5250-dwmmc"),
61 COMPAT(SAMSUNG_EXYNOS_EHCI, "samsung,exynos-ehci"),
62 COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"),
63 COMPAT(SAMSUNG_EXYNOS_TMU, "samsung,exynos-tmu"),
64 COMPAT(SAMSUNG_EXYNOS_FIMD, "samsung,exynos-fimd"),
65 COMPAT(SAMSUNG_EXYNOS5_DP, "samsung,exynos5-dp"),
66 COMPAT(SAMSUNG_EXYNOS5_DWMMC, "samsung,exynos5250-dwmmc"),
66 COMPAT(SAMSUNG_EXYNOS_SERIAL, "samsung,exynos4210-uart"),
67 COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686_pmic"),
68 COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
69 COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
70 COMPAT(INFINEON_SLB9635_TPM, "infineon,slb9635-tpm"),
67 COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686_pmic"),
68 COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
69 COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
70 COMPAT(INFINEON_SLB9635_TPM, "infineon,slb9635-tpm"),
71 COMPAT(INFINEON_SLB9645_TPM, "infineon,slb9645-tpm"),
71};
72
73const char *fdtdec_get_compatible(enum fdt_compat_id id)
74{
75 /* We allow reading of the 'unknown' ID for testing purposes */
76 assert(id >= 0 && id < COMPAT_COUNT);
77 return compat_names[id];
78}

--- 548 unchanged lines hidden ---
72};
73
74const char *fdtdec_get_compatible(enum fdt_compat_id id)
75{
76 /* We allow reading of the 'unknown' ID for testing purposes */
77 assert(id >= 0 && id < COMPAT_COUNT);
78 return compat_names[id];
79}

--- 548 unchanged lines hidden ---