diff options
author | james qian wang (Arm Technology China) <james.qian.wang@arm.com> | 2019-01-03 11:40:38 +0000 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2019-01-14 11:09:37 +0000 |
commit | 29e56aec911dd784c1a29f28254f74fcd683bfe0 (patch) | |
tree | a1d8bc596dd89fddc0b5e4d491c43da19403f3f9 /drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h | |
parent | 26bd43a759963981ad685b3ed917abd9c41c65f8 (diff) | |
download | lwn-29e56aec911dd784c1a29f28254f74fcd683bfe0.tar.gz lwn-29e56aec911dd784c1a29f28254f74fcd683bfe0.zip |
drm/komeda: Add DT parsing
Parse DT and initialize corresponding dev/pipeline attributes.
Changes in v4:
- Rebase.
Changes in v3:
- Fixed style problem found by checkpatch.pl --strict.
Changes in v2:
- Unified abbreviation of "pipeline" to "pipe".
Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h')
-rw-r--r-- | drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h index 7daba0e1946b..d2222e46b10b 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h +++ b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h @@ -288,6 +288,13 @@ struct komeda_pipeline { struct komeda_improc *improc; struct komeda_timing_ctrlr *ctrlr; struct komeda_pipeline_funcs *funcs; /* private pipeline functions */ + + /** @of_node: pipeline dt node */ + struct device_node *of_node; + /** @of_output_port: pipeline output port */ + struct device_node *of_output_port; + /** @of_output_dev: output connector device node */ + struct device_node *of_output_dev; }; /** |