Skip to contentSkip to conversation

ATXP3 and ATXP5

PATCH Rudolf Marek 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

FYI. They released full datasheet for ATXP5. None for ATXP3 but this is quite for sure cut-off version of ATXP1.

I have ATXP3 :)

http://www.attansic.com.tw/english/products/pdf/ATXP5_1.0%20.pdf

Regards,
Rudolf

-------------- next part --------------

drivers/i2c/chips/Kconfig +13 -0
diff -ruN linux-2.6.10-orig/drivers/i2c/chips/Kconfig linux-2.6.10/drivers/i2c/chips/Kconfig
@@ -347,6 +347,19 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-rtc8564.
 
+config SENSORS_ATXP1
+	tristate "Attansic ATXP1 VID controller"
+	depends on I2C && EXPERIMENTAL
+	help
+	  If you say yes here you get support for the Attansic ATXP1 VID
+	  controller.
+
+	  If your board have such a chip, you are able to control your CPU
+	  core and other voltages.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called atxp1.
+	  
 config ISP1301_OMAP
 	tristate "Philips ISP1301 with OMAP OTG"
 	depends on I2C && ARCH_OMAP_OTG
drivers/i2c/chips/Makefile +1 -0
diff -ruN linux-2.6.10-orig/drivers/i2c/chips/Makefile linux-2.6.10/drivers/i2c/chips/Makefile
@@ -34,6 +34,7 @@
 obj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
 obj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
 obj-$(CONFIG_ISP1301_OMAP)	+= isp1301_omap.o
+obj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
 
 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
 EXTRA_CFLAGS += -DDEBUG
drivers/i2c/chips/atxp1.c +259 -0

259 lines not on this page · raw message

#1 lore raw
Quoted 3 lines

I have ATXP3 :)

No I have ATXP2 even. I cant regulate voltage (athough I can set VID register and load atxp1 module), but this chip can regulate FSB

Near this chip is DIP switch to adjust FSB manually. It has 24 legs total.

DIP SW combinations:

133 166 [OFF] [OFF]  [ON]  [ON]
100 133  [ON]  [ON]  [ON] [OFF]
133 100 [OFF]  [ON]  [ON] [OFF]

133 133 [OFF] [ON] [OFF] [OFF]
100 100 [OFF] [OFF] [OFF] [OFF

So I think ATXP2 can adjust FSB and MEM frq somehow.

Regards

Rudolf

#2 lore raw
In reply to Rudolf Marek

Hello,

Quoted 1 line · Rudolf Marek

No I have ATXP2 even. I cant regulate voltage (athough I can set VID register and load atxp1 module), but this chip can regulate FSB

The ATXP5/2 doesn't seem to have the VID in/outputs. But they have the FID (multiplier) and GPIO registers. FID changing has normally no effect during runtime, because it's only used during power-up (at least on the AMD cpu, not sure about the SiS chipset).

Quoted 5 lines

Near this chip is DIP switch to adjust FSB manually. It has 24 legs total.

DIP SW combinations:

Quoted 7 lines
133 166 [OFF] [OFF]  [ON]  [ON]
100 133  [ON]  [ON]  [ON] [OFF]
133 100 [OFF]  [ON]  [ON] [OFF]

133 133 [OFF] [ON] [OFF] [OFF]
100 100 [OFF] [OFF] [OFF] [OFF

So I think ATXP2 can adjust FSB and MEM frq somehow.

Yes, maybe they are using the GPIO pins, but then the switches must be in a specific position so the GPIO outputs are getting priority...

Can you please run i2cdump on the ATXP2 ?

Bye,
Sebastian

#3 lore raw
In reply to Rudolf Marek

Hi

i2cdump will produce all 0 except 0xA register that will be 0xFF
I can try to set manual speeds in BIOS and see what is programmed.
Do you want me to do this? (I dont need it by myself but maybe you can improve the detection stuff)

This is when I wrote to cpu0_vid some VID voltage...

I will probe file /dev/i2c-0, address 0x37, mode byte Continue? [Y/n]

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 0e 00 00 00 00 00 0f 00 00 00 ff 00 00 00 00 00    ?.....?.........
10: 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e    ????????????????
20: 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e    ????????????????
30: 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e    ????????????????
40: 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e    ????????????????
50: 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0e 0c    ????????????????
60: 0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 04 04 04 04 04 04    ????????????????
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

REG0 changed and REG6 became 0xF

Regards

Rudolf

Quoted 4 lines

Bye,
Sebastian