[EHL] Quadrature Encoder Peripheral support

Bug #1842144 reported by quanxian
262
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Undecided
Unassigned
Lookout-canyon-series
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Description:
Support a quadrature encoder peripheral (QEP) that is a peripheral designed to interface to a shaft encoder fitted to either a motor shaft or a user interface dial, as a means to measure rotational speed, direction, and optionally absolute angle of rotation.

Commit ids: b711f687a1c1
Target Release: 22.04
Target Kernel: 5.14

quanxian (quanxian-wang)
description: updated
tags: added: intel-kernel-20.10
removed: intel-kernel-20.04
quanxian (quanxian-wang)
information type: Private → Public
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1842144

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: groovy
quanxian (quanxian-wang)
information type: Public → Private
quanxian (quanxian-wang)
description: updated
tags: added: intel-kernel-21.04
removed: intel-kernel-20.10
Rex Tsai (chihchun)
tags: added: ehjl
tags: added: ehll
removed: ehjl
quanxian (quanxian-wang)
description: updated
tags: added: intel-kernel-21.10
removed: intel-kernel-21.04
description: updated
quanxian (quanxian-wang)
description: updated
tags: added: ehl
removed: ehll
description: updated
quanxian (quanxian-wang)
description: updated
tags: added: intel-kernel-22.04
removed: intel-kernel-21.10
description: updated
Changed in intel:
status: New → Fix Committed
Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
Changed in linux (Ubuntu):
status: Fix Committed → New
Revision history for this message
pragyansri.pathi@intel.com (pragyan) wrote :

Patch list merged in 5.14
b711f687a1c1c counter: Add support for Intel Quadrature Encoder Peripheral
ac3bd9d6b11f6 counter: intel-qep: Mark PM callbacks with __maybe_unused
93466212b9329 counter: intel-qep: Use to_pci_dev() helper

Revision history for this message
Anthony Wong (anthonywong) wrote :

@Intel
Any guidance on how to verify this?

Revision history for this message
Sachin Mokashi (sachinmokashi) wrote :

@anthonywong

Please refer to this ID for a full list of out-of-tree patches needed for QEP:
https://bugs.launchpad.net/intel/+bug/1929897

Revision history for this message
Sachin Mokashi (sachinmokashi) wrote :

Please find the steps to verify and test from here:
https://cdrdv2.intel.com/v1/dl/getContent/614200?wapkw=Elkhart%20Quadrature

Revision history for this message
Anthony Wong (anthonywong) wrote :
Kent Lin (kent-jclin)
tags: added: lookout-canyon
Revision history for this message
Kent Lin (kent-jclin) wrote :

Test Steps in #5:
1. Connect the encoder of the motor to the CRB QEP_0
- Intel said this step is not needed.
2. Go to BIOS Intel Advance Menu-> PCH IO Configuration > PSE to set
QEPx to "Host owned with pin mux"
PSE_I2C7 to "Host owned with pin mux"
3. Boot to OS
4. $lspci
5. Check if following OSE_IO device ID appears
- lscpi |grep -i 4bc3
- lscpi |grep -i 4b81
- lscpi |grep -i 4b82
- lscpi |grep -i 4b83
6. Check if device note exited:
/sys/bus/pci/devices/0000:<PCI Slot Number>/

quanxian (quanxian-wang)
Changed in intel:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Ana Lasprilla (anamlt)
information type: Private → Public Security
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1842144

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: jammy
Changed in intel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.