Re: Adding compatible string to standard UART

2023-09-14 Thread Ahmad Fatoum
Hello Ayush, On 29.08.23 18:58, Ayush Singh wrote: > Hello everyone. I have been working on submitting my GSoC23 driver [1] to be > merged upstream. > > BeaglePlay has a specific UART that is connected to the CC1352 Co-processor. > This UART is used to communicate with CC1352 co-processor. It

Re: GPIO and interrupt

2023-07-26 Thread Ahmad Fatoum
Hello Tony, On 26.07.23 12:10, Tony He wrote: > Hi, > > I'm writing button driver. The button is based on GPIO.When the button > is pressed or released, the interrupt is generated. According to the > GPIO value(1 or 0) , I can know which action is taken(pressed or > released). > However, a

Re: How to find hook points for USB device additions and removals

2022-09-05 Thread Ahmad Fatoum
On 25.08.22 14:49, Yang Hanlin wrote: > Hi all, > > I am learning about the Linux kernel, especially the eBPF subsystem, for > various observability and networking applications. As a practice, I am > developing a simple utility that detects additions and removals of USB devices > and performs

Re: Are there any requirements to sign up for Kernel Newbies?

2022-02-23 Thread Ahmad Fatoum
Hi, On 21.02.22 00:35, Rogério Valentim Feitoza da Silva wrote: > Are there any requirements to sign up for Kernel Newbies? I want to sign up > for it and I don't know what is required to sign up. I know I need an > e-mail address (I have one, otherwise I wouldn't be sending this) and a >

Re: How to switch between installed kernel and developed kernel

2021-03-23 Thread Ahmad Fatoum
Hello Gidi, On 22.03.21 13:11, Gidi Gal wrote: > Hello, > > I am new to kernel development, currently working on > https://kernelnewbies.org/FirstKernelPatch. I reached the step "Install > your changes" in "Modifying a driver on native Linux". I would like to > separate my developed kernel and

Re: How to make .dtb from .dts file (how to set include path for #include .. ?)

2021-02-23 Thread Ahmad Fatoum
Hello Chan, On 23.02.21 09:37, c...@etri.re.kr wrote: > I don't know how I should let the preprocessing kick in. > > I tried (because there is > include/dt-bindings/interrupt-controller/arm-gic.h) > > $ dtc -i include -I dts -O dtb -o juno.dtb > arch/arm64/boot/dts/arm/juno.dts > > But it

Re: the cost of EXPORT_SYMBOL_GPL

2020-06-17 Thread Ahmad Fatoum
Hello, On 6/17/20 2:48 PM, Tomek The Messenger wrote: > This is the case about which Martin write shortly. Then let's assume on > another soc reset reason is not stored in chip's address space memory > mapped to address 0xfff but it is accessed via some spi operation. On > another soc reset