Giter Club home page Giter Club logo

pch-pads-parser's People

Contributors

maxpoliak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lynxis th3fanbus

pch-pads-parser's Issues

Additional macros are needed to create a configuration from the inteltool log

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.