summaryrefslogtreecommitdiff
path: root/include/dt-bindings/gpio/meson8b-gpio.h
blob: c38cb20d7182f7eb14d6e6ae0036513b24b9d18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * GPIO definitions for Amlogic Meson8b SoCs
 *
 * Copyright (C) 2015 Endless Mobile, Inc.
 * Author: Carlo Caione <carlo@endlessm.com>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _DT_BINDINGS_MESON8B_GPIO_H
#define _DT_BINDINGS_MESON8B_GPIO_H

#include <dt-bindings/gpio/meson8-gpio.h>

/* GPIO Bank DIF */
#define DIF_0_P		120
#define DIF_0_N		121
#define DIF_1_P		122
#define DIF_1_N		123
#define DIF_2_P		124
#define DIF_2_N		125
#define DIF_3_P		126
#define DIF_3_N		127
#define DIF_4_P		128
#define DIF_4_N		129

#endif /* _DT_BINDINGS_MESON8B_GPIO_H */
8167899d389075160412a8c0c5e0581e1f13'>ipv6: sr: remove cleanup flag and fix HMAC computationDavid Lebrun1-6/+3 In the latest version of the IPv6 Segment Routing IETF draft [1] the cleanup flag is removed and the flags field length is shrunk from 16 bits to 8 bits. As a consequence, the input of the HMAC computation is modified in a non-backward compatible way by covering the whole octet of flags instead of only the cleanup bit. As such, if an implementation compatible with the latest draft computes the HMAC of an SRH who has other flags set to 1, then the HMAC result would differ from the current implementation. This patch carries those modifications to prevent conflict with other implementations of IPv6 SR. [1] https://tools.ietf.org/html/draft-ietf-6man-segment-routing-header-05 Signed-off-by: David Lebrun <david.lebrun@uclouvain.be> Signed-off-by: David S. Miller <davem@davemloft.net>