られる

られる
auxiliary
be done (passive); can (potential); honorific (after ichidan verbs)
grammatical
1. passive: to be done (to); to have something done to one
Attached to ichidan verbs and 来(く)る, it makes the passive: 見(み)る → 見(み)られる (be seen), 食(た)べる → 食(た)べられる (be eaten), 来(く)る → 来(こ)られる. The doer is marked with に. Japanese also uses the passive for things that happen to one against one's wishes, even with intransitive verbs: 雨(あめ)に降(ふ)られる (be rained on). Godan verbs take れる instead, and する becomes される.
I was seen by someone.
My little brother ate my cake (on me).
A stranger started talking to me on the train, and I was a bit at a loss.
2. potential: can do; to be able to
The same form expresses ability or possibility: 起(お)きられる (can get up), 来(こ)られる (can come). The object of a potential verb is often marked with が instead of を: 納豆(なっとう)が食(た)べられる.
Can you get up at six in the morning?
明日(あした)は来(こ)られますか。
Will you be able to come tomorrow?
子(こ)どものころは嫌(きら)いだったピーマンも、今(いま)は食(た)べられるようになった。
I hated green peppers as a child, but now I can eat them.
3. honorific: (someone respected) does
The same form also shows respect for the person doing the action: 先生(せんせい)が来(こ)られた (the teacher came). It is lighter than special honorific verbs such as いらっしゃる and is common in news and business writing.
社長(しゃちょう)が来(こ)られました。
The company president has arrived.
The teacher has already started getting ready to leave.
I hear the department head will be working at the London branch from next month.

Forms

The result conjugates as an ichidan verb: 見(み)られない, 見(み)られた, 見(み)られて. Which of the three meanings is meant depends on the context and the particles: 先生(せんせい)に見(み)られた (seen by the teacher, passive) vs. 先生(せんせい)が見(み)られた (the teacher saw it, honorific).

Common patterns

Watch out

In casual speech the potential often drops ら: 見(み)れる, 来(こ)れる, 食(た)べれる (ら抜(ぬ)き言葉(ことば)). It is widespread but still counts as nonstandard in writing; use られる in formal contexts.