Johnny Depp I'm Doing Good Deeds Overseas

5/27/2016 3:07 PM PDT

Johnny Depp -- I'm Doing Good Deeds Overseas (PHOTO)

Johnny Depp was playing ear doctor over in Portugal as his estranged wife was in court getting a restraining order against him.

Johnny and his band, the Hollywood Vampires, are in Lisbon to headline the Rock in Rio festival ... and a few hours before they hit the stage, they teamed up with the Starkey Hearing Foundation to help fit people with hearing aids.

If he's worried about Amber Heard's domestic violence allegations ... Depp certainly didn't show it during the charity event.

As we've reported, his camp denies he hit Heard.