Skip to content

Feature/wbec buzzer rebase - #212

Closed
pgasheev wants to merge 5 commits into
feature/wb8-6.8from
feature/wbec-buzzer-rebase
Closed

Feature/wbec buzzer rebase#212
pgasheev wants to merge 5 commits into
feature/wb8-6.8from
feature/wbec-buzzer-rebase

Conversation

@pgasheev

Copy link
Copy Markdown
Contributor

Пока вливать не нужно, но можно посмотреть.
Перенос пищалки на WBEC на WB8.5

wbc_modem = &wbc_modem;
rtc_onboard = &rtc_onboard;
rtc_onboard_txco = &rtc_onboard_txco;
pwmchip0 = &wbec_pwm;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это сходу не заработало, нужно подумать как сделать, чтобы wbec-pwm был pwmchip0, т.к. это везде захардкожено, https://github.com/search?q=org%3Awirenboard+pwmchip0&type=code

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в крайнем случае мы можем что-то и с хардкодом сделать, тем более что по этому поиску примерно четверть уже не очень актуальна

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

вообще присвоение id через aliases делается функцией of_alias_get_id(), которой в драйверах pwm я не нашёл, так что оно не должно было заработать, к сожалению

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может в dts вынести что-то типа pwm-buzzer-chip = <1>;? Как лучше сделать? Или вы себе в отдел эту задачку заберете?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pgasheev
pgasheev requested a review from webconn July 16, 2024 12:22
@pgasheev

pgasheev commented Aug 9, 2024

Copy link
Copy Markdown
Contributor Author

Открыл общий PR #234

@pgasheev pgasheev closed this Aug 9, 2024
@pgasheev
pgasheev deleted the feature/wbec-buzzer-rebase branch August 9, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants