Giter VIP home page Giter VIP logo

i2c-cadence-atomic's Introduction

i2c-xiic-atomic

This is a fork of the Xilinx i2c-xiic driver with added support for the master_xfer_atomic method.

master_xfer_atomic is needed very late before reset/shutdown, in case the system needs to access a PMIC or other I2C peripheral to conduct the actual shutdown operation, at a stage when interrupts are already disabled (and the regular master_xfer method would not work due to its usage of interrupts or scheduling).

This driver allows to use the Xilinx AXI IIC Bus Interface on FPGA/SoC systems (like Zynq UltraScale+ MPSoC) to trigger power management actions, such as shutdown or reset, at a very late system stage.

How to use

Disable the in-kernel version of i2c-xiic (CONFIG_I2C_XILINX=n) and build/install this driver like a regular kernel module.

Supported kernels

This driver was forked from the xilinx-v2022.1 release of linux-xlnx, corresponding to a 5.15.0 kernel version. There are some version checks in place for better backward compatibility. It was tested on a xilinx-v2020.2 based system running a 5.4.0 kernel.

i2c-cadence-atomic's People

Contributors

patrislav1 avatar

Watchers

 avatar

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.