Skip to content

Commit 8108912

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.9.y' into v6.9+
2 parents 382fe81 + 103a4e4 commit 8108912

403 files changed

Lines changed: 4026 additions & 2421 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/devicetree/bindings/pci/rcar-pci-host.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ properties:
7777
vpcie12v-supply:
7878
description: The 12v regulator to use for PCIe.
7979

80+
iommu-map: true
81+
iommu-map-mask: true
82+
8083
required:
8184
- compatible
8285
- reg

Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ properties:
3737
description: This property is needed if using 24MHz OSC for RC's PHY.
3838

3939
ep-gpios:
40+
maxItems: 1
4041
description: pre-reset GPIO
4142

4243
vpcie12v-supply:

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ allOf:
198198
enum:
199199
- qcom,sm8550-qmp-gen4x2-pcie-phy
200200
- qcom,sm8650-qmp-gen4x2-pcie-phy
201-
- qcom,x1e80100-qmp-gen3x2-pcie-phy
202201
- qcom,x1e80100-qmp-gen4x2-pcie-phy
203202
then:
204203
properties:

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ required:
7171
- reg
7272
- clocks
7373
- clock-names
74-
- power-domains
7574
- resets
7675
- reset-names
7776
- vdda-phy-supply
@@ -127,6 +126,21 @@ allOf:
127126
- const: ref
128127
- const: qref
129128

129+
- if:
130+
properties:
131+
compatible:
132+
contains:
133+
enum:
134+
- qcom,msm8996-qmp-ufs-phy
135+
- qcom,msm8998-qmp-ufs-phy
136+
then:
137+
properties:
138+
power-domains:
139+
false
140+
else:
141+
required:
142+
- power-domains
143+
130144
additionalProperties: false
131145

132146
examples:

Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ description: |
1515
properties:
1616
compatible:
1717
oneOf:
18-
- enum:
19-
- qcom,sc8180x-usb-hs-phy
20-
- qcom,usb-snps-femto-v2-phy
2118
- items:
2219
- enum:
2320
- qcom,sa8775p-usb-hs-phy
@@ -26,6 +23,7 @@ properties:
2623
- items:
2724
- enum:
2825
- qcom,sc7280-usb-hs-phy
26+
- qcom,sc8180x-usb-hs-phy
2927
- qcom,sdx55-usb-hs-phy
3028
- qcom,sdx65-usb-hs-phy
3129
- qcom,sm6375-usb-hs-phy

Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml

Lines changed: 49 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,18 @@ patternProperties:
9797
then:
9898
properties:
9999
groups:
100-
enum: [emmc, emmc_rst]
100+
items:
101+
enum: [emmc, emmc_rst]
101102
- if:
102103
properties:
103104
function:
104105
const: eth
105106
then:
106107
properties:
107108
groups:
108-
enum: [esw, esw_p0_p1, esw_p2_p3_p4, rgmii_via_esw,
109-
rgmii_via_gmac1, rgmii_via_gmac2, mdc_mdio]
109+
items:
110+
enum: [esw, esw_p0_p1, esw_p2_p3_p4, rgmii_via_esw,
111+
rgmii_via_gmac1, rgmii_via_gmac2, mdc_mdio]
110112
- if:
111113
properties:
112114
function:
@@ -123,10 +125,11 @@ patternProperties:
123125
then:
124126
properties:
125127
groups:
126-
enum: [i2s_in_mclk_bclk_ws, i2s1_in_data, i2s2_in_data,
127-
i2s3_in_data, i2s4_in_data, i2s_out_mclk_bclk_ws,
128-
i2s1_out_data, i2s2_out_data, i2s3_out_data,
129-
i2s4_out_data]
128+
items:
129+
enum: [i2s_in_mclk_bclk_ws, i2s1_in_data, i2s2_in_data,
130+
i2s3_in_data, i2s4_in_data, i2s_out_mclk_bclk_ws,
131+
i2s1_out_data, i2s2_out_data, i2s3_out_data,
132+
i2s4_out_data]
130133
- if:
131134
properties:
132135
function:
@@ -159,10 +162,11 @@ patternProperties:
159162
then:
160163
properties:
161164
groups:
162-
enum: [pcie0_0_waken, pcie0_1_waken, pcie1_0_waken,
163-
pcie0_0_clkreq, pcie0_1_clkreq, pcie1_0_clkreq,
164-
pcie0_pad_perst, pcie1_pad_perst, pcie_pereset,
165-
pcie_wake, pcie_clkreq]
165+
items:
166+
enum: [pcie0_0_waken, pcie0_1_waken, pcie1_0_waken,
167+
pcie0_0_clkreq, pcie0_1_clkreq, pcie1_0_clkreq,
168+
pcie0_pad_perst, pcie1_pad_perst, pcie_pereset,
169+
pcie_wake, pcie_clkreq]
166170
- if:
167171
properties:
168172
function:
@@ -178,11 +182,12 @@ patternProperties:
178182
then:
179183
properties:
180184
groups:
181-
enum: [pwm_ch1_0, pwm_ch1_1, pwm_ch1_2, pwm_ch2_0, pwm_ch2_1,
182-
pwm_ch2_2, pwm_ch3_0, pwm_ch3_1, pwm_ch3_2, pwm_ch4_0,
183-
pwm_ch4_1, pwm_ch4_2, pwm_ch4_3, pwm_ch5_0, pwm_ch5_1,
184-
pwm_ch5_2, pwm_ch6_0, pwm_ch6_1, pwm_ch6_2, pwm_ch6_3,
185-
pwm_ch7_0, pwm_0, pwm_1]
185+
items:
186+
enum: [pwm_ch1_0, pwm_ch1_1, pwm_ch1_2, pwm_ch2_0, pwm_ch2_1,
187+
pwm_ch2_2, pwm_ch3_0, pwm_ch3_1, pwm_ch3_2, pwm_ch4_0,
188+
pwm_ch4_1, pwm_ch4_2, pwm_ch4_3, pwm_ch5_0, pwm_ch5_1,
189+
pwm_ch5_2, pwm_ch6_0, pwm_ch6_1, pwm_ch6_2, pwm_ch6_3,
190+
pwm_ch7_0, pwm_0, pwm_1]
186191
- if:
187192
properties:
188193
function:
@@ -260,33 +265,34 @@ patternProperties:
260265
pins:
261266
description:
262267
An array of strings. Each string contains the name of a pin.
263-
enum: [GPIO_A, I2S1_IN, I2S1_OUT, I2S_BCLK, I2S_WS, I2S_MCLK, TXD0,
264-
RXD0, SPI_WP, SPI_HOLD, SPI_CLK, SPI_MOSI, SPI_MISO, SPI_CS,
265-
I2C_SDA, I2C_SCL, I2S2_IN, I2S3_IN, I2S4_IN, I2S2_OUT,
266-
I2S3_OUT, I2S4_OUT, GPIO_B, MDC, MDIO, G2_TXD0, G2_TXD1,
267-
G2_TXD2, G2_TXD3, G2_TXEN, G2_TXC, G2_RXD0, G2_RXD1, G2_RXD2,
268-
G2_RXD3, G2_RXDV, G2_RXC, NCEB, NWEB, NREB, NDL4, NDL5, NDL6,
269-
NDL7, NRB, NCLE, NALE, NDL0, NDL1, NDL2, NDL3, MDI_TP_P0,
270-
MDI_TN_P0, MDI_RP_P0, MDI_RN_P0, MDI_TP_P1, MDI_TN_P1,
271-
MDI_RP_P1, MDI_RN_P1, MDI_RP_P2, MDI_RN_P2, MDI_TP_P2,
272-
MDI_TN_P2, MDI_TP_P3, MDI_TN_P3, MDI_RP_P3, MDI_RN_P3,
273-
MDI_RP_P4, MDI_RN_P4, MDI_TP_P4, MDI_TN_P4, PMIC_SCL,
274-
PMIC_SDA, SPIC1_CLK, SPIC1_MOSI, SPIC1_MISO, SPIC1_CS,
275-
GPIO_D, WATCHDOG, RTS3_N, CTS3_N, TXD3, RXD3, PERST0_N,
276-
PERST1_N, WLED_N, EPHY_LED0_N, AUXIN0, AUXIN1, AUXIN2,
277-
AUXIN3, TXD4, RXD4, RTS4_N, CST4_N, PWM1, PWM2, PWM3, PWM4,
278-
PWM5, PWM6, PWM7, GPIO_E, TOP_5G_CLK, TOP_5G_DATA,
279-
WF0_5G_HB0, WF0_5G_HB1, WF0_5G_HB2, WF0_5G_HB3, WF0_5G_HB4,
280-
WF0_5G_HB5, WF0_5G_HB6, XO_REQ, TOP_RST_N, SYS_WATCHDOG,
281-
EPHY_LED0_N_JTDO, EPHY_LED1_N_JTDI, EPHY_LED2_N_JTMS,
282-
EPHY_LED3_N_JTCLK, EPHY_LED4_N_JTRST_N, WF2G_LED_N,
283-
WF5G_LED_N, GPIO_9, GPIO_10, GPIO_11, GPIO_12, UART1_TXD,
284-
UART1_RXD, UART1_CTS, UART1_RTS, UART2_TXD, UART2_RXD,
285-
UART2_CTS, UART2_RTS, SMI_MDC, SMI_MDIO, PCIE_PERESET_N,
286-
PWM_0, GPIO_0, GPIO_1, GPIO_2, GPIO_3, GPIO_4, GPIO_5,
287-
GPIO_6, GPIO_7, GPIO_8, UART0_TXD, UART0_RXD, TOP_2G_CLK,
288-
TOP_2G_DATA, WF0_2G_HB0, WF0_2G_HB1, WF0_2G_HB2, WF0_2G_HB3,
289-
WF0_2G_HB4, WF0_2G_HB5, WF0_2G_HB6]
268+
items:
269+
enum: [GPIO_A, I2S1_IN, I2S1_OUT, I2S_BCLK, I2S_WS, I2S_MCLK, TXD0,
270+
RXD0, SPI_WP, SPI_HOLD, SPI_CLK, SPI_MOSI, SPI_MISO, SPI_CS,
271+
I2C_SDA, I2C_SCL, I2S2_IN, I2S3_IN, I2S4_IN, I2S2_OUT,
272+
I2S3_OUT, I2S4_OUT, GPIO_B, MDC, MDIO, G2_TXD0, G2_TXD1,
273+
G2_TXD2, G2_TXD3, G2_TXEN, G2_TXC, G2_RXD0, G2_RXD1, G2_RXD2,
274+
G2_RXD3, G2_RXDV, G2_RXC, NCEB, NWEB, NREB, NDL4, NDL5, NDL6,
275+
NDL7, NRB, NCLE, NALE, NDL0, NDL1, NDL2, NDL3, MDI_TP_P0,
276+
MDI_TN_P0, MDI_RP_P0, MDI_RN_P0, MDI_TP_P1, MDI_TN_P1,
277+
MDI_RP_P1, MDI_RN_P1, MDI_RP_P2, MDI_RN_P2, MDI_TP_P2,
278+
MDI_TN_P2, MDI_TP_P3, MDI_TN_P3, MDI_RP_P3, MDI_RN_P3,
279+
MDI_RP_P4, MDI_RN_P4, MDI_TP_P4, MDI_TN_P4, PMIC_SCL,
280+
PMIC_SDA, SPIC1_CLK, SPIC1_MOSI, SPIC1_MISO, SPIC1_CS,
281+
GPIO_D, WATCHDOG, RTS3_N, CTS3_N, TXD3, RXD3, PERST0_N,
282+
PERST1_N, WLED_N, EPHY_LED0_N, AUXIN0, AUXIN1, AUXIN2,
283+
AUXIN3, TXD4, RXD4, RTS4_N, CST4_N, PWM1, PWM2, PWM3, PWM4,
284+
PWM5, PWM6, PWM7, GPIO_E, TOP_5G_CLK, TOP_5G_DATA,
285+
WF0_5G_HB0, WF0_5G_HB1, WF0_5G_HB2, WF0_5G_HB3, WF0_5G_HB4,
286+
WF0_5G_HB5, WF0_5G_HB6, XO_REQ, TOP_RST_N, SYS_WATCHDOG,
287+
EPHY_LED0_N_JTDO, EPHY_LED1_N_JTDI, EPHY_LED2_N_JTMS,
288+
EPHY_LED3_N_JTCLK, EPHY_LED4_N_JTRST_N, WF2G_LED_N,
289+
WF5G_LED_N, GPIO_9, GPIO_10, GPIO_11, GPIO_12, UART1_TXD,
290+
UART1_RXD, UART1_CTS, UART1_RTS, UART2_TXD, UART2_RXD,
291+
UART2_CTS, UART2_RTS, SMI_MDC, SMI_MDIO, PCIE_PERESET_N,
292+
PWM_0, GPIO_0, GPIO_1, GPIO_2, GPIO_3, GPIO_4, GPIO_5,
293+
GPIO_6, GPIO_7, GPIO_8, UART0_TXD, UART0_RXD, TOP_2G_CLK,
294+
TOP_2G_DATA, WF0_2G_HB0, WF0_2G_HB1, WF0_2G_HB2, WF0_2G_HB3,
295+
WF0_2G_HB4, WF0_2G_HB5, WF0_2G_HB6]
290296

291297
bias-disable: true
292298

Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml

Lines changed: 18 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -72,40 +72,24 @@ $defs:
7272
description:
7373
Specify the alternative function to be configured for the specified
7474
pins.
75-
enum: [ gpio, atest_char, atest_char0, atest_char1, atest_char2,
76-
atest_char3, atest_usb0, atest_usb00, atest_usb01, atest_usb02,
77-
atest_usb03, audio_ref, cam_mclk, cci_async, cci_i2c,
78-
cci_timer0, cci_timer1, cci_timer2, cci_timer3, cci_timer4,
79-
cmu_rng0, cmu_rng1, cmu_rng2, cmu_rng3, coex_uart1, cri_trng,
80-
cri_trng0, cri_trng1, dbg_out, ddr_bist, ddr_pxi0, ddr_pxi1,
81-
dp0_hot, gcc_gp1, gcc_gp2, gcc_gp3, host2wlan_sol, ibi_i3c,
82-
jitter_bist, mdp_vsync, mdp_vsync0, mdp_vsync1, mdp_vsync2,
83-
mdp_vsync3, mi2s0_data0, mi2s0_data1, mi2s0_sck, mi2s0_ws,
84-
mi2s2_data0, mi2s2_data1, mi2s2_sck, mi2s2_ws, mi2s_mclk0,
85-
mi2s_mclk1, nav_gpio0, nav_gpio1, nav_gpio2, pcie0_clk,
86-
phase_flag0, phase_flag1, phase_flag10, phase_flag11,
87-
phase_flag12, phase_flag13, phase_flag14, phase_flag15,
88-
phase_flag16, phase_flag17, phase_flag18, phase_flag19,
89-
phase_flag2, phase_flag20, phase_flag21, phase_flag22,
90-
phase_flag23, phase_flag24, phase_flag25, phase_flag26,
91-
phase_flag27, phase_flag28, phase_flag29, phase_flag3,
92-
phase_flag30, phase_flag31, phase_flag4, phase_flag5,
93-
phase_flag6, phase_flag7, phase_flag8, phase_flag9,
94-
pll_bist, pll_clk, prng_rosc0, prng_rosc1, prng_rosc2,
95-
prng_rosc3, qdss_cti, qdss_gpio, qdss_gpio0, qdss_gpio1,
96-
qdss_gpio10, qdss_gpio11, qdss_gpio12, qdss_gpio13, qdss_gpio14,
97-
qdss_gpio15, qdss_gpio2, qdss_gpio3, qdss_gpio4, qdss_gpio5,
98-
qdss_gpio6, qdss_gpio7, qdss_gpio8, qdss_gpio9, qlink0_enable,
99-
qlink0_request, qlink0_wmss, qlink1_enable, qlink1_request,
100-
qlink1_wmss, qlink2_enable, qlink2_request, qlink2_wmss,
101-
qup0_se0, qup0_se1, qup0_se2, qup0_se3, qup0_se4, qup0_se5,
102-
qup0_se6, qup0_se7, qup1_se0, qup1_se1, qup1_se2, qup1_se3,
103-
qup1_se4, qup1_se5, qup1_se6, sd_write, tb_trig, tgu_ch0,
104-
tgu_ch1, tgu_ch2, tgu_ch3, tmess_prng0, tmess_prng1,
105-
tmess_prng2, tmess_prng3, tsense_pwm1, tsense_pwm2, uim0_clk,
106-
uim0_data, uim0_present, uim0_reset, uim1_clk, uim1_data,
107-
uim1_present, uim1_reset, usb0_hs, usb0_phy, vfr_0, vfr_1,
108-
vsense_trigger ]
75+
enum: [ gpio, atest_char, atest_usb0, audio_ref_clk, cam_mclk,
76+
cci_async_in0, cci_i2c, cci, cmu_rng, coex_uart1_rx,
77+
coex_uart1_tx, cri_trng, dbg_out_clk, ddr_bist,
78+
ddr_pxi0_test, ddr_pxi1_test, gcc_gp1_clk, gcc_gp2_clk,
79+
gcc_gp3_clk, host2wlan_sol, ibi_i3c_qup0, ibi_i3c_qup1,
80+
jitter_bist_ref, mdp_vsync0_out, mdp_vsync1_out,
81+
mdp_vsync2_out, mdp_vsync3_out, mdp_vsync, nav,
82+
pcie0_clk_req, phase_flag, pll_bist_sync, pll_clk_aux,
83+
prng_rosc, qdss_cti_trig0, qdss_cti_trig1, qdss_gpio,
84+
qlink0_enable, qlink0_request, qlink0_wmss_reset,
85+
qup0_se0, qup0_se1, qup0_se2, qup0_se3, qup0_se4,
86+
qup1_se0, qup1_se1, qup1_se2, qup1_se2_l2, qup1_se3,
87+
qup1_se4, sd_write_protect, tb_trig_sdc1, tb_trig_sdc2,
88+
tgu_ch0_trigout, tgu_ch1_trigout, tgu_ch2_trigout,
89+
tgu_ch3_trigout, tmess_prng, tsense_pwm1_out,
90+
tsense_pwm2_out, uim0, uim1, usb0_hs_ac, usb0_phy_ps,
91+
vfr_0_mira, vfr_0_mirb, vfr_1, vsense_trigger_mirnat,
92+
wlan1_adc_dtest0, wlan1_adc_dtest1 ]
10993

11094
required:
11195
- pins

Documentation/driver-api/fpga/fpga-bridge.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,20 @@ API to implement a new FPGA bridge
66

77
* struct fpga_bridge - The FPGA Bridge structure
88
* struct fpga_bridge_ops - Low level Bridge driver ops
9-
* fpga_bridge_register() - Create and register a bridge
9+
* __fpga_bridge_register() - Create and register a bridge
1010
* fpga_bridge_unregister() - Unregister a bridge
1111

12+
The helper macro ``fpga_bridge_register()`` automatically sets
13+
the module that registers the FPGA bridge as the owner.
14+
1215
.. kernel-doc:: include/linux/fpga/fpga-bridge.h
1316
:functions: fpga_bridge
1417

1518
.. kernel-doc:: include/linux/fpga/fpga-bridge.h
1619
:functions: fpga_bridge_ops
1720

1821
.. kernel-doc:: drivers/fpga/fpga-bridge.c
19-
:functions: fpga_bridge_register
22+
:functions: __fpga_bridge_register
2023

2124
.. kernel-doc:: drivers/fpga/fpga-bridge.c
2225
:functions: fpga_bridge_unregister

Documentation/driver-api/fpga/fpga-mgr.rst

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ How to support a new FPGA device
2424
--------------------------------
2525

2626
To add another FPGA manager, write a driver that implements a set of ops. The
27-
probe function calls fpga_mgr_register() or fpga_mgr_register_full(), such as::
27+
probe function calls ``fpga_mgr_register()`` or ``fpga_mgr_register_full()``,
28+
such as::
2829

2930
static const struct fpga_manager_ops socfpga_fpga_ops = {
3031
.write_init = socfpga_fpga_ops_configure_init,
@@ -69,10 +70,11 @@ probe function calls fpga_mgr_register() or fpga_mgr_register_full(), such as::
6970
}
7071

7172
Alternatively, the probe function could call one of the resource managed
72-
register functions, devm_fpga_mgr_register() or devm_fpga_mgr_register_full().
73-
When these functions are used, the parameter syntax is the same, but the call
74-
to fpga_mgr_unregister() should be removed. In the above example, the
75-
socfpga_fpga_remove() function would not be required.
73+
register functions, ``devm_fpga_mgr_register()`` or
74+
``devm_fpga_mgr_register_full()``. When these functions are used, the
75+
parameter syntax is the same, but the call to ``fpga_mgr_unregister()`` should be
76+
removed. In the above example, the ``socfpga_fpga_remove()`` function would not be
77+
required.
7678

7779
The ops will implement whatever device specific register writes are needed to
7880
do the programming sequence for this particular FPGA. These ops return 0 for
@@ -125,15 +127,19 @@ API for implementing a new FPGA Manager driver
125127
* struct fpga_manager - the FPGA manager struct
126128
* struct fpga_manager_ops - Low level FPGA manager driver ops
127129
* struct fpga_manager_info - Parameter structure for fpga_mgr_register_full()
128-
* fpga_mgr_register_full() - Create and register an FPGA manager using the
130+
* __fpga_mgr_register_full() - Create and register an FPGA manager using the
129131
fpga_mgr_info structure to provide the full flexibility of options
130-
* fpga_mgr_register() - Create and register an FPGA manager using standard
132+
* __fpga_mgr_register() - Create and register an FPGA manager using standard
131133
arguments
132-
* devm_fpga_mgr_register_full() - Resource managed version of
133-
fpga_mgr_register_full()
134-
* devm_fpga_mgr_register() - Resource managed version of fpga_mgr_register()
134+
* __devm_fpga_mgr_register_full() - Resource managed version of
135+
__fpga_mgr_register_full()
136+
* __devm_fpga_mgr_register() - Resource managed version of __fpga_mgr_register()
135137
* fpga_mgr_unregister() - Unregister an FPGA manager
136138

139+
Helper macros ``fpga_mgr_register_full()``, ``fpga_mgr_register()``,
140+
``devm_fpga_mgr_register_full()``, and ``devm_fpga_mgr_register()`` are available
141+
to ease the registration.
142+
137143
.. kernel-doc:: include/linux/fpga/fpga-mgr.h
138144
:functions: fpga_mgr_states
139145

@@ -147,16 +153,16 @@ API for implementing a new FPGA Manager driver
147153
:functions: fpga_manager_info
148154

149155
.. kernel-doc:: drivers/fpga/fpga-mgr.c
150-
:functions: fpga_mgr_register_full
156+
:functions: __fpga_mgr_register_full
151157

152158
.. kernel-doc:: drivers/fpga/fpga-mgr.c
153-
:functions: fpga_mgr_register
159+
:functions: __fpga_mgr_register
154160

155161
.. kernel-doc:: drivers/fpga/fpga-mgr.c
156-
:functions: devm_fpga_mgr_register_full
162+
:functions: __devm_fpga_mgr_register_full
157163

158164
.. kernel-doc:: drivers/fpga/fpga-mgr.c
159-
:functions: devm_fpga_mgr_register
165+
:functions: __devm_fpga_mgr_register
160166

161167
.. kernel-doc:: drivers/fpga/fpga-mgr.c
162168
:functions: fpga_mgr_unregister

Documentation/driver-api/fpga/fpga-region.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,16 @@ API to add a new FPGA region
4646
----------------------------
4747

4848
* struct fpga_region - The FPGA region struct
49-
* struct fpga_region_info - Parameter structure for fpga_region_register_full()
50-
* fpga_region_register_full() - Create and register an FPGA region using the
49+
* struct fpga_region_info - Parameter structure for __fpga_region_register_full()
50+
* __fpga_region_register_full() - Create and register an FPGA region using the
5151
fpga_region_info structure to provide the full flexibility of options
52-
* fpga_region_register() - Create and register an FPGA region using standard
52+
* __fpga_region_register() - Create and register an FPGA region using standard
5353
arguments
5454
* fpga_region_unregister() - Unregister an FPGA region
5555

56+
Helper macros ``fpga_region_register()`` and ``fpga_region_register_full()``
57+
automatically set the module that registers the FPGA region as the owner.
58+
5659
The FPGA region's probe function will need to get a reference to the FPGA
5760
Manager it will be using to do the programming. This usually would happen
5861
during the region's probe function.
@@ -82,10 +85,10 @@ following APIs to handle building or tearing down that list.
8285
:functions: fpga_region_info
8386

8487
.. kernel-doc:: drivers/fpga/fpga-region.c
85-
:functions: fpga_region_register_full
88+
:functions: __fpga_region_register_full
8689

8790
.. kernel-doc:: drivers/fpga/fpga-region.c
88-
:functions: fpga_region_register
91+
:functions: __fpga_region_register
8992

9093
.. kernel-doc:: drivers/fpga/fpga-region.c
9194
:functions: fpga_region_unregister

0 commit comments

Comments
 (0)