Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
1e670589
Commit
1e670589
authored
11 months ago
by
Dmitry Petrov
Browse files
Options
Downloads
Patches
Plain Diff
Add custom pinfunc macros
Ported from
seco-ne/kernel/linux-imx-kuk!126 (
a3e8d2e7
)
parent
91f04cf9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm64/boot/dts/seco/include/imx8mm-pinfunc.h
+9
-0
9 additions, 0 deletions
arch/arm64/boot/dts/seco/include/imx8mm-pinfunc.h
with
9 additions
and
0 deletions
arch/arm64/boot/dts/seco/include/imx8mm-pinfunc.h
+
9
−
0
View file @
1e670589
...
...
@@ -6,6 +6,15 @@
#ifndef __DTS_IMX8MM_PINFUNC_H
#define __DTS_IMX8MM_PINFUNC_H
#define MX8MM_IOMUXC_PULLUP_ENABLE 0x140
#define MX8MM_IOMUXC_PULLDOWN_ENABLE 0x100
#define MX8MM_IOMUXC_HYS 0x080
#define MX8MM_IOMUXC_OPEN_DRAIN 0x020
#define MX8MM_IOMUXC_SLEW(a) (((a)&0x03)<<3)
#define MX8MM_IOMUXC_FAST 0x010
#define MX8MM_IOMUXC_SLOW 0x008
#define MX8MM_IOMUXC_DRIVE(a) ((a)&0x7)
/*
* The pin function ID is a tuple of
* <mux_reg conf_reg input_reg mux_mode input_val>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment