v3.26.1
Discontinued Operations - Selected Cash Flow Information from Discontinued Operations (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 03, 2026
Jun. 27, 2025
Jun. 28, 2024
Disposal Group, Including Discontinued Operations [Line Items]      
Purchases of property, plant and equipment $ 418 $ 412 $ 487
Stock-based compensation $ 204 265 295
Discontinued Operations, Disposed of by Means Other than Sale, Spinoff | Sandisk Semiconductor Co. Ltd.      
Disposal Group, Including Discontinued Operations [Line Items]      
Depreciation and amortization   115 221
Purchases of property, plant and equipment   139 166
Stock-based compensation   $ 98 $ 92