Jeremy Soller 
							
						 
					 
					
						
						
							
						
						5d11cc14f8 
					 
					
						
						
							
							bonw15: Change keyboard model to 15in_102  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						a03ce8d1c3 
					 
					
						
						
							
							Set bonw15 smart charger  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						da9648dddb 
					 
					
						
						
							
							Add bonw15  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						d0596100bd 
					 
					
						
						
							
							serw13: Hook up USB-PD  
						
						... 
						
						
						
						Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						cd0321bfbb 
					 
					
						
						
							
							Ensure smart charger uses new input current limits when detected  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						658f24a8a8 
					 
					
						
						
							
							Hack and slash until it is done  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						7a5c111786 
					 
					
						
						
							
							Set CPU power limit based on input current  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						c5229fafab 
					 
					
						
						
							
							Set input current based on USB-PD charger data  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						a5ea9f4f05 
					 
					
						
						
							
							Expose input current setting  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						49aee51343 
					 
					
						
						
							
							Fix gaze17-3050 input current  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						edcfac1050 
					 
					
						
						
							
							Make INPUT_CURRENT a macro taking arguments  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						5b55048ef3 
					 
					
						
						
							
							WIP: USB-PD current detection  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						a1f4bb55bb 
					 
					
						
						
							
							oryp11: Adjust fan curve  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						cd53d28d2e 
					 
					
						
						
							
							oryp11: Increase DC power limit to 55W  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						5adacc4241 
					 
					
						
						
							
							serw13: Increase DC power limit to 55W  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						4745b109d8 
					 
					
						
						
							
							addw3: Increase DC power limit to 55W  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						c76919b189 
					 
					
						
						
							
							Add PD_EN to oryp11 to ensure it powers off  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						3eaa5e6e06 
					 
					
						
						
							
							Only use PECI over eSPI on oryp11  
						
						... 
						
						
						
						Make all boards except oryp11 use the legacy PECI implementation. The
oryp11 removed the legacy pin (H_PECI) and must use PECI over eSPI.
All boards that use eSPI should switch to using PECI over eSPI once the
implementation is working correctly.
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						c1c082d2cc 
					 
					
						
						
							
							power: Set PL4 after CPU reset  
						
						... 
						
						
						
						Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						568fae6aba 
					 
					
						
						
							
							power: Remove last AC check from power_set_limit  
						
						... 
						
						
						
						Unconditionally set the power limit based on the current AC state when
power_set_limit is called. The contional logic to run it only on ACIN#
state change is already done in power_event.
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						a198289695 
					 
					
						
						
							
							Remove power_set_limit from board_event  
						
						... 
						
						
						
						This is already handled by power_event.
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						b1bd244d49 
					 
					
						
						
							
							gaze18: Set PWM pin to ALT  
						
						... 
						
						
						
						Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						546dd30b5e 
					 
					
						
						
							
							Fix cold reset by using VW_SUS_PWRDN_ACK again  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						1dd25e0bf0 
					 
					
						
						
							
							Remove unnecessary config USE_S0IX from all boards  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						8228362c5d 
					 
					
						
						
							
							Do not try to use peci between VW_HOST_RST_WARN and VW_PLTRST_N  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						584e397b07 
					 
					
						
						
							
							addw3, gaze18, oryp11, serw13: enable CONFIG_SECURITY  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						86f281b410 
					 
					
						
						
							
							Add ME_WE gpio for all boards  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						4a1e0a5aa8 
					 
					
						
						
							
							Add optional EC security state and documentation  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						4567f99015 
					 
					
						
						
							
							peci: Clear status after command completion  
						
						... 
						
						
						
						Per the flow charts for PECI programming guide, clear the status
register after the command has completed.
Ref: IT5570E V0.3.2 datasheet
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						3dde812dba 
					 
					
						
						
							
							peci: Check FINISH for completed transaction  
						
						... 
						
						
						
						Per the IT5570E datasheet, FINISH should be used to check if a
transaction completed, not HOBY.
> For the polling mode, software continues reading the Host Status
> Register to check whether the transaction is completed or not (the
> Finish bit in the Host Status Register will be set when the
> transaction is completed).
Ref: IT5570E V0.3.2 datasheet
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						dd97946056 
					 
					
						
						
							
							peci: Check for hardware error  
						
						... 
						
						
						
						Check if any hardware error bits are set instead of checking for only
command completion.
Move logging of WrPkgConfig() errors from power to peci.
Ref: IT5570E V0.3.2 datasheet
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						373dc36676 
					 
					
						
						
							
							kbc: Enable Transaction Done interrupt  
						
						... 
						
						
						
						Step 2 for data transmission (both RX and TX) is to enable the
Transaction Done interrupt.
Ref: IT5570 V0.3.2, 7.9.3.1 Hardware Mode Selected
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Tim Crawford 
							
						 
					 
					
						
						
							
						
						22487f737d 
					 
					
						
						
							
							gaze18: Set CC_EN high  
						
						... 
						
						
						
						Fixes using the TBT port (rear USB-C).
Signed-off-by: Tim Crawford <tcrawford@system76.com > 
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						0348800411 
					 
					
						
						
							
							addw3: Enable USB-C power  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						f73160fad5 
					 
					
						
						
							
							oryp11: Enable thunderbolt power  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						4aeb3669a0 
					 
					
						
						
							
							Fix formatting  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						7587a6412d 
					 
					
						
						
							
							oryp11: set EC_AMP_EN high  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						ba5438a79a 
					 
					
						
						
							
							Update power state prior to using PECI  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						55df52a013 
					 
					
						
						
							
							Remove unnecessary code from espi_event  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						cb8e0971c6 
					 
					
						
						
							
							PECI ESPI timeout of 10ms  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						34ef03b19a 
					 
					
						
						
							
							Fix ESPI vw_get and vw_set  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						33eaef2dd0 
					 
					
						
						
							
							Reorder power plane detection  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						0d438a3314 
					 
					
						
						
							
							Make sure power_state is S0 before attempting PECI  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						962d55309a 
					 
					
						
						
							
							Gate peci_available on ESPI availability  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						fc1fda0725 
					 
					
						
						
							
							Use EC_RSMRST# for S5 detection on eSPI systems as well  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						35d3c4f161 
					 
					
						
						
							
							Fix style  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						6b80721138 
					 
					
						
						
							
							oryp11: set prochot the right way  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						a0c81f6304 
					 
					
						
						
							
							Improvements for determining CPU state using virtual wires  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						4e11f6220b 
					 
					
						
						
							
							Fix comparisons of vw_get values  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00 
						 
				 
			
				
					
						
							
							
								Jeremy Soller 
							
						 
					 
					
						
						
							
						
						cea89a78d8 
					 
					
						
						
							
							Use ESPI VW signals wherever possible  
						
						
						
						
					 
					
						2023-04-03 13:06:16 -06:00