maxpoliak / pch-pads-parser Goto Github PK
View Code? Open in Web Editor NEWA small utility for analyzing the PCH GPIOs config from inteltool log file
License: GNU General Public License v2.0
A small utility for analyzing the PCH GPIOs config from inteltool log file
License: GNU General Public License v2.0
Macros from src/soc/intel/common/block/include/intelblocks/gpio_defs.h can't define the pad configuration from inteltool dump. For example, the PAD_CFG_NF(pad, pull, rst, func) macro can't set the IRQ and wake configuration of the pad, and also set the parameter to disable the input/output buffer (GPIORXDIS/GPIOTXDIS field in DW0 register [1]). This is necessary to determine some value from the dump:
0x0448: 0x0000102184000600 GPP_A9 CLKOUT_LPC0
DW0 = 0x84000600
31:30 PADRSTCFG = 2h - PLTRST
26:25 RX Level/Edge Configuration (RXEVCFG) = 2h - Drive '0'
12:10 Pad Mode = 1h - native function 1
9 GPIO RX Disable (GPIORXDIS) = 1 - Disable the input buffer of the pad.
PAD_CFG_GPO (pad, val, rst) also can't set RXEVCFG
For this reason, this requires adding at least 2 new macros:
PAD_CFG_x_NF_x(pad, pull, rst, bufdis, trig, func),
PAD_CFG_x_GPO_x(pad, val, pull, trig, rst)
[1] page 1429,Intel (R) 100 Series and Intel (R) C230 Series Chipset Family Platform Controller Hub (PCH), Datasheet, Volume 2 of 2, February 2019, Document Number: 332691-003EN https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/100-series-chipset-datasheet-vol-2.pdf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.