1.1 --- a/pkg/devices/lib/lcd/include/lcd-jz4740-regs.h Sun Jan 31 22:46:41 2021 +0100
1.2 +++ b/pkg/devices/lib/lcd/include/lcd-jz4740-regs.h Fri Jan 14 22:30:38 2022 +0100
1.3 @@ -2,8 +2,8 @@
1.4 * LCD peripheral support for the JZ4740 and related SoCs.
1.5 *
1.6 * Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>
1.7 - * Copyright (C) 2015, 2016, 2017, 2018,
1.8 - * 2020 Paul Boddie <paul@boddie.org.uk>
1.9 + * Copyright (C) 2015, 2016, 2017, 2018, 2020,
1.10 + * 2021 Paul Boddie <paul@boddie.org.uk>
1.11 *
1.12 * This program is free software; you can redistribute it and/or
1.13 * modify it under the terms of the GNU General Public License as
1.14 @@ -299,3 +299,12 @@
1.15 Position_bpp_18_24bpp = 5,
1.16 Position_bpp_30bpp = 7,
1.17 };
1.18 +
1.19 +// Alpha and size.
1.20 +
1.21 +enum Alpha_size_bits : unsigned
1.22 +{
1.23 + Alpha_size_alpha = 24,
1.24 + Alpha_size_height = 12,
1.25 + Alpha_size_width = 0,
1.26 +};